5

For example, this and my own question.

Some answers are good and can solve the problem, but isn't directly addressing the OP's question. For example:

  • Q: "Why isn't my code producing the intended results?" A: "Instead of your approach, try this"
  • Q: "Why do I get this error?" A: "I don't know the cause of the error, but try this code instead"

And so on. Even though they "work" and are accepted and upvoted, they don't really answer the OP. In the first link I provided, the answerer doesn't directly answer the question. What should I do? Should I flag as NAA or downvote or...?

8
  • I probably wouldn’t flag them as NAA… often I’ll just leave comments. Keep in mind that partial answers are not discouraged, so something like I don't know the cause of the error, but try this code instead”. would be fine, as long as the “try this” part isn’t a mere guess with no explanation of why someone should try it or how it works or solves the problem. Jun 12, 2018 at 23:42
  • @Xufox But eventually, the accepted answer should address the OP's question?
    – Xcoder
    Jun 12, 2018 at 23:45
  • Ideally, yes, of course. You’re right, such answers being accepted is a bigger problem… Jun 12, 2018 at 23:47
  • 5
    I don't really understand what you are asking here. Your first example is not accepted nor upvoted. The second example was accepted by you, so I fail to see the problem in the answer. If the OP's way of thinking is wrong, why would the correct answer follow that line of thinking? Am I missing something obvious? Jun 13, 2018 at 0:03
  • 1
    I usually intentionally avoid to answer the direct question and I provide a complete new way to achieve things when I think the OP is overcomplicating a simple thing that can be done easily ... so for me such answer are legit and could be accepted as well Jun 13, 2018 at 1:09
  • 2
    Possible duplicate of When to flag an answer as "not an answer"? Jun 13, 2018 at 2:27
  • Closely related: Disruptive answers
    – duplode
    Jun 13, 2018 at 2:46
  • "But eventually, the accepted answer should address the OP's question?" Not necessarily. If someone asks how to shoot themselves in the foot, oftentimes it's preferable that they don't get an answer, and that they are only ever given safe solutions to whatever underlying problem they have. In some situations providing an answer to the literal question asked is actively harmful, and should be voted on accordingly.
    – Servy
    Jun 13, 2018 at 13:30

1 Answer 1

7

It is generally considered that "attempting to solve the underlying problem that resulted in the user asking the question" is an attempted answer to the question. It's not "not an answer".

If you feel that it's not a useful answer, and you think that answering the literal question asked would be better (or that they improperly diagnosed the underlying problem, or provided a poor solution to said underlying problem), you're free to vote accordingly.

You must log in to answer this question.

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