A recent question on meta from a user asking about why their question was closed resulted in it not only being re-opened by a mod, but that mod answering with:
I'm not sure why your question was closed. It doesn't meet any of our criteria for closure.
The question was "How do I do X?" where X
involved writing some code. (the initial reason it was closed, apparently, was people thinking they were looking for a vi/vim plugin, but that is outside the scope of this question)
My question is very simple: Do we no longer have a valid close reason for "How do I do X?" where the OP has done no research, no code, and has provided no evidence that they have tried anything themselves?
As I commented on the aforementioned thread, other mods have said "Unclear what you're asking" close reason is analogous to our old (evil/mean/hurting people's feelings) "Too Localized" or (edit: I had this one wrong) "demonstrate a minimal understanding of the problem being solved" close reasons. In which case the question certainly has a valid close reason, contrary to what is being stated.
I actually disagree based on the that close reason's text as it in no way would apply:
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.
It's certainly clear what the OP's problem is, and what they are asking; they want someone to tell them how to do it / write the code for them.
This similarly applies to any other "Tell me how to do X" question, or homework code dump where the user says "I'm trying to do X, here's my 200 lines of code, tell me how to fix it" where there's literally nothing in that code dump that attempts to do what they're asking.