27

Note, this is not the same as

I don't ask for a close reason, I asked the question in order to get feedback from the community about the validity of such questions, as for me it's not yet clear if these are on-topic or off-topic questions.


For reference, see this question: In the Swift programming language, what does "slider:UISlider" mean?.

For someone who knows Swift it's clear what the name: Type syntax means, however the OP doesn't seem to know this.

How should this kind of questions be handled?

None of the standard close reasons seem to apply here:

  • the question is not a duplicate
  • it doesn't belong to other SE site
  • it doesn't ask for libraries and tools
  • it's not seeking debugging details
  • it's not unclear
  • it doesn't ask multiple questions in one
  • it's not opinion based

The "Other" close reason can be applied here with a text like "I’m voting to close this question because it asks for mandatory language knowledge", though I'm not sure this kind of close reason is justified, as it's subjective.

Or are this kind of questions on-topic on SO?

25
  • 6
    It's not asking for a library or tool but it seems to me it is asking for an off-site resource, i.e. basic knowledge/tutorial. "We're not here to teach, we're here to help" as someone said a long time ago.
    – Paulie_D
    Commented Sep 28, 2021 at 11:57
  • 21
    @Paulie_D It's not asking for an off-site resource (links to tutorials etc.). It's also not necessary to write a whole tutorial to answer it (too broad or more focus/details or clarity). Commented Sep 28, 2021 at 12:00
  • 6
    Related: Do we need a close reason for zero-effort questions? Commented Sep 28, 2021 at 12:04
  • 3
    We need a close reason for personal motivation problems. Because not wanting to properly inform yourself and thus making your life far harder than it needs to be is not a programming problem, it's a personal one.
    – Gimby
    Commented Sep 28, 2021 at 12:18
  • 17
    If there's no duplicate, answer it. Then, the next time someone asks it, close it as a dupe to that question. Commented Sep 28, 2021 at 12:25
  • 6
    @HereticMonkey do you propose to have a canonical question for every aspect of the language syntax?
    – Cristik
    Commented Sep 28, 2021 at 12:45
  • 9
    @Cristik Given that Stack Overflow is a "library of detailed answers to every question about programming", why not? For JavaScript we have What does this symbol mean in JavaScript? where all syntax/symbol related topics are bundled so they are easy to find when you want to close one as a duplicate.
    – Ivar
    Commented Sep 28, 2021 at 12:50
  • 5
    @Cristik No. Just one for for every aspect that people have asked about. If no one ever asks "What does if mean in JavaScript?" I'll be happy. Commented Sep 28, 2021 at 12:59
  • 4
    Is the question useful? upvote it. Is it not useful? downvote it.
    – Kevin B
    Commented Sep 28, 2021 at 16:31
  • 14
    In Ancient Times, there was a "Lacks Minimal Understanding" close reason, but it was removed. I guess it wasn't very friendly...
    – PM 2Ring
    Commented Sep 28, 2021 at 21:26
  • 6
    The truly annoying thing about a question like this is odds are high that you won't be able to give the asker an answer they'll understand without reading the text book they should have read in the first place. Commented Sep 29, 2021 at 21:34
  • 4
    Unfortunately there is no "gormless" close category. — There used to be a close category "not a real question". So what I used to do is downvote and vote to close as "not a real question", the idea being that "not a real question" means "you have got to be kidding". What I do now is downvote and vote to close as "unclear". What's "unclear" is how anyone willing to apply a modicum of effort could possibly not know this. I also add a comment consisting of a link to the relevant page of the online documentation. Then I walk away; there is absolutely no point commenting further.
    – matt
    Commented Sep 29, 2021 at 23:14
  • 4
    @PM2Ring "...I guess it wasn't very friendly... " The official reason given at the time was that it can easily be abused and I agree. Minimal understanding is kind of subjective. But then downvoting is nearly as effective as closing in setting a signal. The real problem is that any such question very likely is a duplicate but finding and marking as duplicates is work and takes time. You end up with a negative benefit. Commented Sep 30, 2021 at 7:11
  • 4
    Perhaps the title would be better phrased as "fundamental" rather than "mandatory" knowledge? Commented Sep 30, 2021 at 9:24
  • 3
    Does this answer your question? Can we please have the "Lacks Minimal Understanding" close reason back?
    – Tomerikoo
    Commented Sep 30, 2021 at 10:53

3 Answers 3

33

These questions are on-topic. They are asking about a programming problem. As you said, none of the close reasons apply. What you should do in this case is write an answer, but...

Easy questions like this one have usually been asked many times already. There's no reason to answer it again. Just look for the appropriate duplicate target and vote to close as a duplicate. If after a short search you can't find one, only then write a new answer.

12
  • 21
    Sounds good but, in effect, you are acting as a dupe lookup-drone for OP's who can't be bothered if they can con some mark into doing their work:( Commented Sep 28, 2021 at 16:18
  • 16
    @MartinJames Yes, that is what we all do on Stack Overflow. It's not easy to come up with an original question. These are rather rare. Majority can probably be closed as duplicates.
    – Dharman Mod
    Commented Sep 28, 2021 at 16:19
  • 2
    'Yes, that is what we all do on Stack Overflow'....not all. If I don't know the answer, I won't look it up. If it's a trivial answer, I just comment some quick clue/tip. Commented Sep 28, 2021 at 16:23
  • 1
    @MartinJames: I usually look for a duplicate, but if I don't find one and the question is still trivial, yeah I just comment. And either way downvote if it's too trivial, especially when searching on terms already used in the question should have pointed to an answer. Or if it's one of the things any tutorial would cover. Asking other humans is an exception; don't waste their time with things that everyone needs to learn when learning a new language, and thus is covered in tutorials. Commented Sep 29, 2021 at 4:21
  • 3
    @MartinJames Usually if I don't know the answer, but is familiar enough with the topic (to judge whether an answer is correct) I'd still look for a duplicate. /// I don't want to be a lookup-drone either, but the other option is doing nothing and someone else will answer it (...?) Downvote remains an option.
    – user202729
    Commented Sep 29, 2021 at 5:20
  • 5
    Except that Stack Overflow's search function is garbage, which makes finding duplicates difficult if not impossible. Proper search engines get it right more of the time, but not always. So once again we are disincentivised from performing proper curation.
    – Ian Kemp
    Commented Sep 29, 2021 at 11:14
  • 3
    @IanKemp can find most duplicates in seconds with a site:stackoverflow.com search in Google.
    – user692942
    Commented Sep 29, 2021 at 16:07
  • 3
    "They are asking about a programming problem" I don't see a problem described in the mentioned question.
    – Juraj
    Commented Sep 29, 2021 at 17:03
  • 1
    "...none of the close reasons apply." "Just look for the appropriate duplicate target and vote to close as a duplicate." Someone needs to revisit their formal logic, particularly the notion of contradiction.
    – jpmc26
    Commented Sep 30, 2021 at 9:09
  • 3
    There's absolutely no reward for finding duplicates (except when in a close-vote review queue). How would people be sustainably motivated?
    – iBug
    Commented Sep 30, 2021 at 14:42
  • @iBug "How would people be sustainably motivated?" They wouldn't. I guess the only "sustainable" way would be to constantly find new people willing to do this. Commented Sep 30, 2021 at 17:50
  • @Juraj The problem is they don't understand the thing they're asking about.
    – TylerH
    Commented Sep 30, 2021 at 18:57
-4

For such questions, I have downvoted because the question lacks research and voted to close

Community specific reason > Seeking recommendations for books, tools, software libraries, and more

(emphasis mine)

The help section even says

Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow

(emphasis mine)

Stack Overflow still is

[...] for professional and enthusiast programmers, people who write code because they love it.

And really, they should have the basic language knowledge, and a book, tutorial or Youtube video should help getting started.

4
  • 8
    They aren't asking where to find resources though, so this is definitely the wrong close reason. "Simply typo" can be used from time to time. Most of these questions are just "down vote and move on" though.
    – Lundin
    Commented Sep 29, 2021 at 10:47
  • 10
    Arguably, one could also type a custom close vote reason "I'm voting to close this because SO is not an interactive beginner tutorial", though that would be quite controversial and cause a lot of drama.
    – Lundin
    Commented Sep 29, 2021 at 10:49
  • 2
    @Lundin: even if they don't know that they are looking for a tutorial, they are still looking for a tutorial. We have taught pupils Python in 3 afternoons and currently teach pupils Dart in the same time. They cover a lot of ground during that time. And we teach them not to ask such questions on SO ;-) Commented Sep 30, 2021 at 4:40
  • 9
    Teaching and learning isn't new to mankind. Schools and pedagogy have been around for some 2000 years. I can't picture someone in say the middle-ages go ask on the town square: "hey everyone I just started a smithy, but I have no idea what this hammer thing is supposed to do. Help please?" No, they would apprentice under an established smith and learn the trade from them. Mankind got dumber than ever thanks to the Internet, I guess...
    – Lundin
    Commented Sep 30, 2021 at 6:19
-10

I usually leave a comment with an explanantion, and vote to close these questions as:

Not reproducible or was caused by a typo

The logic seems simple to me: a typo is caused by a lack of attention to detail. It could have been resolved by a careful reading of the code and/or the documentation.

And simple questions like "what does X mean?", when a basic understanding of the language in question (and its documentation) would obviate the need for an answer, comes down to the same thing. The questioner simply wouldn't have asked in the first place had they paid attention to the things that they needed to.

Note that the blurb under this close reason says

While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.

So even though the question is on-topic, it is not likely to help future readers, and therefore should be closed and deleted.

However, if it is likely that future readers, including beginners, may find it useful after having read the documentation, then it should not be closed. Try to put yourself in the place of a beginner, and imagine what they are able to understand.

3
  • 3
    It's often difficult to un-understand something. Especially when it's become obvious. I tend to read a lot of tutorials and every one of them lacks something for me. I assume the writer just found it obvious. Some little thing that makes it harder for me to keep reading. So I end up searching for it.. and then it's really nice to find a post that explains it.
    – Scratte
    Commented Sep 30, 2021 at 9:31
  • True, I guess we need to make ourselves feel like beginners, read the documentation, then see if we still have a question Commented Sep 30, 2021 at 9:35
  • @Scratte it's the tutorial effect. People writing tutorials tend to do so assuming that everything in the world is perfect, everyone's job is as simple as "create a rest endpoint to insert a record into a database" and nothing can go wrong and nothing can be misunderstood. So why even bother covering fault scenario's, or highlighting common errors you might encounter? Except that this is usually exactly what people are looking for... robustness, not a happy flow implementation.
    – Gimby
    Commented Oct 1, 2021 at 14:49

You must log in to answer this question.

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