From time to time questions with snippets of code crop up and the poster usually asks: "Why doesn't my code work".
Have a look at this recent question for an example of what I mean.
I have been voting to close such questions as too localized, but in most of the cases they don't get closed. I'm also kinda unsure about the value of these questions.
What's your take on this? Are these questions valuable to our site? Keep them or close them?