1

So this question reads

What is difference between wait and sleep?

And this answer is

Try this: sleep 10 & wait %1

I flagged this as NAA, and my flag got declined.

Now, I'm trying to improve my flagging behavior and understand what I did wrong, but I honestly cannot identify a single bit of information in it which relates to the question. There is no technical inaccuracies in it, and it isn't wrong, it simply doesn't answer the question at all.

Any thoughts?

If this answer should stay, should we also allow answers suggesting to "google wait" or RTFM? As far as my understanding goes, those would actually be better, because they get you much closer to the information you need than a command which simply returns after 10 seconds.

14
  • 1
    @SurajRao Care to explain why the flag was declined then? I read that post already and still don't understand how this would qualify as an answer. May 9, 2018 at 14:38
  • It is still an attempt to answer the question through sample code. Check the answer by @Erik
    – Suraj Rao
    May 9, 2018 at 14:39
  • Don't expect reviewers of NAA flags to know anything about programming, logic, or the English language. Well, maybe English insofar as they need to recognize what's not valid English. But that's it. May 9, 2018 at 14:45
  • 1
    @MikeMcCaughan I fail to read this as an answer even considering English language alone. I.e. "The difference between wait and sleep is... try this"? May 9, 2018 at 14:48
  • 3
    "Try this" is valid English, and is used in 80% of the answers on Stack Overflow. The rest is formatted as code and is therefore not English. See Flag 'Try This: {code}' Answers as "Very Low Quality"? for more discussion on that. Basically, in order for a NAA flag to be marked helpful, it has to be gobbledygook or obviously a new question. See the duplicate for an extended discussion, or just look at questions tagged not-an-answer for a rich history. May 9, 2018 at 14:52
  • 1
    NAA flag and LQ queue has a low bar on what constitutes a valid flag. Use downvotes for the rest
    – Suraj Rao
    May 9, 2018 at 15:03
  • 1
    @MikeMcCaughan I believe that question refers to 'Try This: {code}' answers to question which actually ask for code. May 9, 2018 at 15:10
  • Similar to rhetorical questions, right?
    – user202729
    May 10, 2018 at 9:45
  • 2
    @Heretic "Try this" makes sense as an answer to a "How do I ... ?" question. It doesn't make sense as an answer to a "What is the difference between X and Y?" question.
    – LarsH
    Nov 30, 2019 at 14:20
  • @LarsH Well, a year ago, when this conversation was fresh, I might’ve has some pithy comeback. As it is, all I can say is to read the answer to this meta question. And again, read the other meta questions with the tag to see the history of the flag. Dec 1, 2019 at 3:26
  • 1
    @Heretic I have read the answer to this meta question. But my comment above was specifically in response to your comment about "try this" being used in "80% of the answers on SO": code is a helpful response to certain common types of questions, and not to others. So the fact that code is a valid answer for many questions may be irrelevant to a question of another type. However I realize I'm late to this part of the discussion and am not expecting others to resurrect it for my sake. There are also many other parts of the discussion that I'm not trying to address in the above comment.
    – LarsH
    Dec 2, 2019 at 13:43
  • @LarsH Sure, but the fact that a particular answer type is not helpful or is irrelevant to the question type is itself irrelevant to the NAA flag. The answer is an answer, however unhelpful or irrelevant its type may be. If it's unhelpful, downvote it. If its type is irrelevant, downvote it. The Not an Answer flag is solely for those pieces of text entered in the answer box which are not answers to any question at all. Dec 2, 2019 at 13:59
  • 1
    Really? So "Tuesday" is an answer to "What's the price of tea in China?" That would make NAA a pretty useless tag, when it would be very useful to have a way to mark "answers" that don't attempt to answer the question asked. However, I am traipsing into territory that seems to be deeper than I want to take time to fully read up on. So feel free to ignore my reaction.
    – LarsH
    Dec 2, 2019 at 15:52
  • An example I've seen of something that is not an answer is "I have the same problem, but this solution doesn't work for me. Why doesn't it work in this scenario? <scenario description>"
    – M. Justin
    Aug 28, 2022 at 20:45

1 Answer 1

6

A code answer to a question asking the difference between two functions can be a good answer, as it can demonstrate it.

Any attempt to answer the question is not NAA. If the question is bad, you might want to address that, instead of the answer.

5
  • 1
    Yes, a code answer may be a good answer. I don't understand what this particular answer demonstrates. May 9, 2018 at 14:39
  • 3
    Well, it does show you that both functions take a different kind of parameters, and running it might show you they behave differently, but I certainly don't think it's a good answer. That's enough to make it not count as NAA, though.
    – Erik A
    May 9, 2018 at 14:53
  • 1
    I don't see a difference with a link-only answer: the actual answer to the question is elsewhere. May 9, 2018 at 15:03
  • 1
    Link-only answers are very specific things. They're not allowed for multiple reasons, such as being a risk for spam (links may contain ads), a risk of the link expiring, and more. While a link-only answer may be way more helpful than this one, they're not allowed, while answers such as this one are.
    – Erik A
    May 9, 2018 at 15:07
  • 1
    This particular example only shows that one of them will cause wait for 1 second. After reading the code, it is completely unclear which one does, and even misleading. Examining the code, and executing it provides not helpful information. A more helpful answer has two different pieces of code, which only differ by the use of wait/sleep, which exposes the difference.
    – Matthew
    Nov 29, 2018 at 19:21

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