Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 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

I see many questions closed with the following, when code samples are not required and irrelevant:

Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See for guidance.

For example, Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: setControlKeepAliveTimeout(J)V.

Does that mean that every question should include a code sample and describe the specific problem in detail?

share|improve this question
Logically speaking, if code samples were not required and irrelevant, then the question was not about "problems with code you've written"—so the close reason was wrong to begin with. – slhck Jan 8 '14 at 10:36
Sometimes people use their votes badly, this is the problem with humans. Although the quoted example does need some code to reproduce it. Doesn't mean all question do, but that one does – Richard Tingle Jan 8 '14 at 10:48

Does that mean that every question should include a code sample and describe specific problem in detail?

If your question involves asking why your program doesn't work properly, we do require that you provide a code sample that reproduces the problem and is small enough to fit comfortably in a question, and that you describe exactly what the problem is.

Note that "It doesn't work" is not a problem description.

share|improve this answer

You must log in to answer this question.

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