What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

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 SSCCE.org 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
3  
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 at 10:36
4  
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 at 10:48

1 Answer 1

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 .