29

22 followers, 4.3k questions. The tag seems to have no value. The tag wiki for it begins:

A return statement causes execution to leave the current subroutine and resume at the point in the code immediately after where the subroutine was called, known as its return address. [...]

This seems about as useful as an tag.

It's so generic as to be meaningless - for example, the first few questions with have additional tags covering the entire spectrum: , , , , , , , , etc.

I can't think of any utility or redeeming value for this tag.

14
  • 18
    Fairly courageous to disagree with over four thousand users. Jon Skeet up front, he's got a badge for it. This tag is entirely harmless of course, just a contextual tag. All keywords in the programming languages in common use have a tag, [return] isn't special. Dec 26, 2014 at 17:02
  • 12
    Who follows a tag like this? People who want to answer all the low quality questions by users who don't know how to tag their questions correctly?
    – l4mpi
    Dec 26, 2014 at 21:00
  • 3
    @l4mpi s/answer/close/ (but that's a poor reason to keep a tag around). Dec 28, 2014 at 1:04
  • 3
    @l4mpi: You don't think there are interesting language-neutral things related to returning? Caller-vs-callee stack pointer adjustment in calling conventions. User-mode return vs return from interrupt vs return from syscall/gate. Return address overwriting attacks (aka return-to-libc aka return-oriented-programming) as well as return address overwriting for flow control (used to implement fibers). Error handling using return code vs global variables vs exceptions. None of these are specific to a particular language.
    – Ben Voigt
    Dec 28, 2014 at 3:39
  • 4
    "None of these are specific to a particular language" Actually, they all are.
    – frasnian
    Dec 28, 2014 at 3:42
  • I might ask which register the return keyword works with using Rust on ARM architectures. Your burninate request is invalid. Dec 28, 2014 at 8:25
  • 5
    @HansPassant disagreeing with four thousand users with mostly crap questions (excluding Jon Skeet of course) is quite reasonable.
    – simonzack
    Dec 28, 2014 at 9:17
  • 11
    @BenVoigt I'm not saying that there are no interesting things to ask about return, but that's not how the tag is being used. I skimmed over the 50 newest questions yesterday, none had anything to do with the intricacies of return itself; the tag just indicates the OP has a problem loosely related to returning something. Also, most questions are from low-rep users (3 >100 rep, none >1k). I doubt users want to wade through that to find questions about return itself. As an analogy, cow dung can be used as biofuel to generate electricity, but these people are just throwing it at each other.
    – l4mpi
    Dec 28, 2014 at 9:55
  • @l4mpi: Ok, probably true. But then we need to separate the wheat from the chaff, not burn from orbit. Yuck.
    – Ben Voigt
    Dec 28, 2014 at 10:57
  • @frasnian: No, they aren't. At least, no matter what language you say they are specific to, I can name a couple others. More relevant is the CPU architecture - most of these are possible on most architectures, but the details are different.
    – Ben Voigt
    Dec 28, 2014 at 11:00
  • 1
    @BenVoigt I don't see how that's possible as long as people, especially those new to the site, type plaintext sentences into the tag box and don't read tag wikis. Tags like those will always be misused and should IMO just be blacklisted (which will never happen because the process is apparently complicated); questions like the ones you mention can probably be asked under language-design and similar tags.
    – l4mpi
    Dec 28, 2014 at 11:08
  • 1
    @BenVoigt The new users don't care about misusing tags, as long as they can use it and as long as there is no disincentive they will. It's more like finding needles in a haystack.
    – simonzack
    Dec 28, 2014 at 11:42
  • 7
    @BenVoigt Regarding your examples: 1) seems "calling-conventions" or sim. would be better 2) "interrupts" or sim. 3) you've mentioned some better examples already 4) "error-handling". This tag is just too broad to categorize a question in a useful way. If you see "c++" and "return" tags on a post, it can be on any or none of the examples you've provided. Such a broad range of diverse topics covered by a tag is unlikely to be helpful. Can you imagine someone that follows this tag because they like the mere concept of "returning" something, regardless of environment, architecture, language etc.?
    – BartoszKP
    Dec 28, 2014 at 20:05
  • 1
    what about return value then, or contains, replace, equals? (note: another thread exists on replace)
    – eis
    Dec 29, 2014 at 0:56

0

You must log in to answer this question.

Browse other questions tagged .