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

Are yes or no questions useful on Stack Overflow?

Not all yes/no questions are easy to answer.

One such example of a non-closed Yes-No constructive question: Should this work?
The OP is asking if it should work -- Yes or No,
but yet the answer turns in a completely different direction.

A second example of a closed constructive question:
The OP was curious as to why the browser showed no output, and the answer clearly explained why.
That one should not have been closed, because it seemed very constructive based on the answers given.

Wow this one is a yes no question, but under the flag of meta discussion

share|improve this question

closed as not constructive by Pëkka, jadarnel27, kiamlaluno, Manishearth, Al E. Jun 22 '12 at 13:07

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Any meaningful examples you could share? – Martijn Pieters Jun 15 '12 at 16:07
@MartijnPieters not that the moment, but I am sure they exist in some manner. – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:08
Since this is a Meta discussion, it's okay to make it CW from the start, right? – Pëkka Jun 15 '12 at 16:11
@Pekka Of course ^_^ – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:12
Either way, I don't really see how this is constructive without some real world examples or a real world problem that needs solving. I guess the only answer that can be given is "it depends" – Pëkka Jun 15 '12 at 16:12
@Pekka I am trying to find constructive examples, it is harder than it seems.... – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:13
@Pekka Found an example! – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:15
Okay, but I still don't get what the point of this question is. That example clearly got an useful answer, so there is no real issue here, is there? – Pëkka Jun 15 '12 at 16:18
@Pekka one sec, I found an example of a Closed constructive question. – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:18
@Pekka I added it. – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:19
But that question is closed because it is too localized. Not because it is a yes/no question. – Pëkka Jun 15 '12 at 16:20
@Pekka hmmm that seems like it is so, but I am just right now going through closed questions with the would "Should" in the title to find examples. – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:21
I think its clear that the fact that a question imposes a dichotomy is not a valid basis for closure. Perhaps "Is editing Yes/No questions so that they're not" is a more interesting question – Some Helpful Commenter Jun 15 '12 at 16:25
@SomeHelpfulCommenter not all Yes-No Questions get real yes-no answers -- is what I am saying. – amanaP lanaC A nalP A naM A Jun 15 '12 at 16:26
Imagine if we closed this question because it's a yes/no question. – BoltClock's a Unicorn Jun 15 '12 at 16:42

I say no. Let me give an example:

Is It Safe to use std::copy on a string?

Hi, I was wondering, can I use std::copy like this?

   const char *input = "Hello World";
   std::string copyTo;
   std::copy(input, input + strlen(input), copyTo.begin());

That is a perfectly legitimate Yes/No question, with one correct answer (No). While the question may be able to be reworded to a fashion that is easier to read (e.g. How To Copy a string in C++), that doesn't make the current question invalid.

My general philosophy is when in doubt, edit to fix, don't vote to close.

share|improve this answer

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