3

I know this question has many duplicates:

What is the "-->" operator in C++?

However, some of them are in different languages,eg:

Java: What does --> means in Java?

JavaScript: How does the minus minus less than "-->" operator work in JavaScript?

c (<--) : Why isn't there a "<--" operator?

to be honest, although I believe those duplicate can answer the questions, yet their language is different, which may have different outputs, rules or additional explanation for "-->" (and even link to different offical docs), which is not quite make senses to mix them together.

If I see similar questions but in different languages later, should I mark it as duplicate of those c++ one? Or is it better to pick one with same language?

7
  • Interestingly the arrow operator not only apply for those mentioned languages, such as C#, Perl, PHP & Python also count. The limitation to implement such questions is even a canonical question can only hold a max of 5 tags, while it may require more than 5 tags to mention every languages using same operator token. Commented Jun 20, 2017 at 3:59
  • We can add tag in title to fix that! Commented Jun 20, 2017 at 6:32
  • 1
    @Tom, More bad ideas? It was just some sarcasm. But how could you have know without Emoji in comment! We really need emoji in comment! Commented Jun 20, 2017 at 7:51
  • @DragandDrop Ok, let's hope it really was just sarcasm ... ;P.
    – Tom
    Commented Jun 20, 2017 at 7:54
  • 1
    @Tom, Just sarcasm, The clue was that the linked Questions titles already contains tag . [question title] in [tag] is not valid. Commented Jun 20, 2017 at 8:04
  • @DragandDrop ok :).
    – Tom
    Commented Jun 20, 2017 at 8:07
  • @TetsuyaYamamoto where does that operator exist in Python?
    – Jon Clements Mod
    Commented Jun 20, 2017 at 13:49

1 Answer 1

1

It's not likely that questions about an operator that's spelled the same in four different languages are going to boil down to the same root. They'll have different semantics and thus important distinctions from each other. Having an individual question for each language is ideal here.

(And, yes, putting the language in the title is okay, as long as it's required to distinguish it from others. Just do it as naturally as possible: particularly, without the square brackets.)

If you had a case where the underlying cause was the same -- the behavior of IEEE 754 floating point numbers, for example, or Unicode encoding -- then it could be justified to link the questions together by closing as duplicate. As long as there were no language-specific bits that were germane to the question.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .