[This question is a spinoff of this post, but doesn't really have anything to do with it..]
At a well-intentioned answer to a now-deleted post, someone commented:
please don't spend your time answering poor questions like this - as this question is very likely to be put on hold, closed, and deleted, your time will have been wasted...
As someone who regularly answers "bad" questions, I have to say I am always offended by comments like these. Why would you discourage me from trying to reach out and help someone? Why would you say it's a waste of time to answer that person's question?
I do understand that it is not SO's primary purpose to help people. I do understand that it is SO's primary purpose to build a repository of high-quality answers to high-quality questions. But I hope we can agree that helping people is at least a secondary purpose of SO. So if someone asks a question which seems interesting and non-horrible to me, oftentimes I'm motivated to answer it, even if it's been downvoted, even if in the eyes of others it's horrible, even if it's nominally a duplicate.
One reason is that when a person legitimately (in the opinion of an answerer like me) deserves help, often they deserve individualized help. Often, asking them to go to an allegedly identical (but sometimes rather tenuously connected) "duplicate" post, and try to glean the answer to their particular question, is tantamount to asking them to have found their answer on the open internet -- which they obviously weren't able to do, otherwise they wouldn't be asking here.
So I would never discourage anyone from leaving a good answer to a "bad" question.
(Here's an example of what I'm talking about. If you're learning C, it's just about guaranteed that at some point you will become confused about the ++
operator. It's quite likely that in an attempt to understand the precise behavior of the ++
operator, you will write code like printf("%d %d\n", i++, ++i)
. And even though you thought you understood ++
, the output of this program will make no sense. So you're likely to ask, "Why didn't I get the result I expected?" or "What's the correct result?". But if you ask either of these questions on SO, in less than a minute it will be closed as a duplicate of Why are these constructs (using ++
) undefined behavior in C?. But that's actually a different question, and its answers are only useful if you know that the original expression is undefined. The answers there are more along the lines of why C has the concept of undefined behavior at all. So when I see people asking about UB, I always try to slip in a quick answer or at least a comment, to give the OP some actual help before he's overwhelmed by the wall of text at the "exact duplicate" of his question.)
I suppose this is a duplicate of this or this, and I suppose the answer will be "Yes, it really is wrong, you really shouldn't answer 'bad' posts, because it only encourages more of them".
I didn't mention Should one advise on off-topic questions?, because I'm not talking about off-topics questions -- I'm talking about nominally on-topic questions, that have been downvoted because others believe the question is a duplicate, or the OP shouldn't have asked, but I happen to believe that the OP deserves an answer anyway.
Even more to the point: If the consensus is that a question does not deserve our attention, is it so wrong to answer it that it's right to leave comments like "please don't spend your time answering poor questions like this"?