I've seen a lot of "how to flag / handle" questions on the meta (like this one), but none directly asking or answering what I want to know.
Many questions follow the structures:
I have X, how do I Y?
I have X, but it doesn't work.
(with Y related to X). Some recent examples (that by no means cover all bases) are:
- 2D Vectors - Snap to Grid
- Lock var and force other thread to wait
- How to keep the value of Object after the action performed event of JButton is handled?
- unable to get subtotal, total and sales tax to show in gui
These types of questions either
- Do not show code at all.
- Show code that we can't compile (let alone run and actually see the problem).
- Show so much code (code dump) that it's too difficult to pinpoint the problem.
- Do not provide inputs and expected outputs as part of the code.
I would no blatantly say that they do not show effort (although it comes hand-in-hand many times), but my problem is the inability to answer rather than the asker's laziness \ stupidity ;)
When flagging for the above issues, there are some gray areas for me as to what the intended use of the flag is:
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.
While the questions are many times very specific, there indeed are "too many possible answer". The first question in my list of examples ask a specific question, but because the lack of code there are too many possible answers.
unclear what you're asking
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
While the question can be phrased clearly, it is many times not clear how to answer. Questions about a problem in the code that do not provide the type of code needed to answer lack the details and are thus unclear in some way.
off-topic because...
This question does not appear to be about programming within the scope defined in the help center.
Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example.
This last paragraph seems to touch on many of the points I want to flag for: "desired behavior", "shortest code necessary to reproduce it in the question itself" and a link to the MCVE page. My problem is that they are not "off-topic", they can ask a concrete on-topic question about code.
For all MCVE-related issues above, I would like to know if I should use one of those flags, if it does not matter which one I use, or if I should use all of them when appropriate, and if so, when is it appropriate for each?
I usually choose "unclear what you're asking" and it works, but I want to be on the safe side and understand better the flags.