Skip to main content
6 of 9
Improved formatting, added question from comments into body, added some of the relevant close reasons.
user avatar
user avatar

What should the table stakes for a question to be asked on Stack Overflow be?

The renewed vigor in "finding ourselves" has led me question some of the principles I've always thought Stack Overflow "was". The recent backlash against homework questions, "beginner" questions, and questions that don't show any research are some examples of recent community discussion.

Our unspoken rules have varied slightly throughout the years, but one of them has been that as long as a question adds value to the corpus of programming knowledge (even if only through its answer) it is "welcome" (defined as "stays open"...may or may not get downvotes).

This implies value, but you won't see that on Stack Overflow's help page -- it's implicit. One of those things that we can't point to, but we all assume is there. Sort of like a donut hole, if you're the philosophical type.

That got me to thinking, what are the table stakes for a question to be asked on Stack Overflow? What are the minimum things we expect out of a question that gets asked? What should be the minimum expectations on our end?

The following are what I believe (from being around the community) to be our minimum requirements for questions; and how they dovetail into the tenets of Stack Overflow:

  1. Questions should be written so that they value for future visitors. If a question isn't likely to be searched for (because of how it's written), it should be edited or closed

  2. Stack Overflow is not a discussion forum; it's a Q&A site. There are a whole subset of programming related topics that aren't suitable for our format (example: List of X, "What's your favorite", "translate this for me", "C# vs Java")

  1. All information needed to solve a problem should be contained in the question itself

  2. If you don't understand your question well enough to articulate the problem you're facing, you're not yet at the point where you should be asking about it on Stack Overflow (example: Massive code dump followed by "Any suggestions?")

  3. Questions should be focused around a single topic

  4. Questions should be about a practical, articulable problem a person faces (we don't have a close reason for this)

What do you think? What should our minimum requirements for questions be? What are we missing?

Why I am asking

I ask because currently, we have no close reason for #1 (no value to others) or #2 (discussion-based) -- our close reasons don't shut down all opinion based questions, just those that aren't backed up by experience or expertise (even though we tend not to allow the latter, we don't have any close-reason justification for it).

For #3 (self-contained problem), #4 (minimal understanding), and #5 (single-topic focus), we have close reasons that cover some of that ground; but not only are they not enforced consistently; they are actively ignored by higher reputation users. A close reason is only as good as its enforcement.

Some Current Close Reasons

  1. This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.

  2. This question was caused by a problem that can no longer be reproduced or a simple typographical error. While similar questions may be on-topic here, this one was resolved in a manner unlikely to help future readers.

  3. Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

  4. Too broad: There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.

  5. Primarily opinion-based: Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.

George Stocker Mod
  • 57.8k
  • 36
  • 185
  • 225