Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Occasionally, a question pops up like this one. Basically, the user posts a question about code that works. It seems that this question should be closed, but it's difficult to pick a reasoning to close it. Perhaps adding a statement like "this question answers itself" in the "not a question" category would be helpful? (Or am I out in right field on this one, and the question really shouldn't be closed after all?)

share|improve this question
"Too localized" is the reason I usually select in a case like this. – Bart Aug 28 '12 at 13:04
up vote 2 down vote accepted

It might work for you (and everybody else :p) but is obviously not working for the OP (or not working as expected, etc), or they wouldn't be asking a question.

You are not helping the OP by voting to close. A comment that it works for you and a request for some clarification on the issue the OP is seeing seems to be the way to go to me. If you don't get any reply, THEN vote to close. But voting to close without attempting to help the OP at all seems a bit draconian (and rude).

I've seen many people post working code and their question boils down to "why does this work?". I think these kind of questions are the best. The poster is obviously trying to learn and should be encouraged to do so.

It's a lot like that "give a man a fish and you've fed him for a day, teach him to fish and you've fed him for a lifetime". You throw some code at them and they can deal with that particular situation, you teach them why and how and they can then apply it to other, different situations.

share|improve this answer
But if others have already made that comment, there's not much more to say ... I'm not advocating closing a post without (someone) providing a good reason. In fact, I'm advocating the opposite... I don't like that the closed message and the comments might say 2 different things. Also, how long do you wait before you make the close vote? 10 minutes? 30 minutes? Longer? – mgilson Aug 28 '12 at 13:28
Well, I used to think like that too (see the question I posted yesterday). However, sometimes waiting is not the best option (not sure about this particular case). – bfavaretto Aug 28 '12 at 13:32
I was going to say 24 hours as I happen to not have the luxury of being a programmer by profession (or have a computer available to me all day), so I've been known to post a question and leave for work, not to return for 8+ hours. But a better thought occurred to me... If there's a request for clarification, check the request date/time against the users "last seen" time. If the user hasn't been back since the question was asked, leave it be. If they've been back and not provided the requested clarification, vote to close. Of course if they haven't been back for a week... :p – Barak Aug 28 '12 at 13:35

You must log in to answer this question.

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