-2

I've seen some questions that are well-written and high-quality, but are impossible because you simply can't do whatever the question is asking.

Example:

Q: How do I modify a constant?

The only way I believe these questions can be answered is:

A: You can't modify a constant. Use a variable instead.

But I don't feel these types of answers are appropriate, since they don't fully address/answer the question:

Q: How do I make a pig fly all by itself without physically modifying it?

A: You can't do that. Use a bird instead.

Okay, bad example, but you get what I mean.

How should "impossible" questions be handled?

1

3 Answers 3

20

But I don't feel these types of answers are appropriate, since they don't fully address/answer the question

I cannot make sense of this claim. Of course they do!

If the question is "how can I do x", and the answer is "you cannot do x, do y instead", then that is a perfectly reasonable answer. In fact, it's a good answer and should be upvoted. A mediocre answer would be simply "you can't do x". It is correct and answers the question as far as it goes, but it doesn't quite go far enough. What makes your example a good answer is that it goes on to propose a reasonable alternative. It cannot get any better than this. Beyond simply answering the question, you have solved the person's problem!

You either encourage answers like this, or you close and delete the entire question. Those are the only two options. Since there's no close reason for "not possible", the only reasonable conclusion is that these types of answers are acceptable.

Related: Should we encourage self-learners more (coincidentally posted before I read your question)

1
  • 3
    Even better: "You cannot do X because <explanation>, do Y instead". Also, such answers could prevent the question from being asked in the future, and provide a dupe target.
    – Cerbrus
    Commented Sep 6, 2016 at 8:14
11

Handling X/Y Questions

You're describing X/Y questions. Using your example above, "How do I modify a constant?" is really an X/Y question where someone has decided that the problem that they have (whatever it is) can be solved by modifying a constant.

If the question is well-written and shows some research effort, it will generally be clear to experienced answerers that it's an X/Y question. Luckily, a well-written question will give you enough information to post some insightful comments, and sometimes even reframe the question in order to post a pragmatic solution.

If the question is poorly written, then you might not be able to tell what the OP is really trying to accomplish. In such cases, you can:

  • Ask clarifying questions in the comments to invite updates to the original question.
  • Read comments from the OP regarding other comments or answers to see if you can gain any insight into what they were really after.
  • Vote to close the question for a suitable reason, or write in your own if it's a poor-quality question and no other close reason quite fits.

In my opinion, programming is more about how you conceptualize a problem than it is about finding the "one true answer." With that in mind, helping other users reframe a problem is really the first step in defining a workable solution that fits the use case. When it's an obvious X/Y problem, don't allow yourself to fall into the same trap that the OP did by overly constraining the solution space.

-15

Q: How should “impossible” questions be handled?

A: Down vote, vote to close and move on.

4
  • 6
    I'm curious: vote to close as what? Too broad? Nope; the question seems quite well specified. Off topic? Nope; it's perfectly on-topic. Opinion based? Nope. Unclear? No, it's perfectly clear what the OP wants. There is no "can't do it" close reason. Commented Sep 6, 2016 at 5:02
  • 3
    "That's not possible because <foo>, use <bar> instead" is a perfectly good answer to questions like these. No need to close'm. In fact, such answers could prevent the question from being asked in the future.
    – Cerbrus
    Commented Sep 6, 2016 at 8:16
  • 1
    99% chance the same ridiculous question has been asked a dozen times already in one form or another, they are all almost guaranteed to be duplicates.
    – user177800
    Commented Sep 6, 2016 at 14:06
  • 5
    Voting to close as a duplicate is different then voting to close because it is an "impossible" question.
    – Joe W
    Commented Sep 6, 2016 at 14:41

You must log in to answer this question.

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