I totally disagree with the ban of this kind of comment. I see many scenarios where this is perfectly legit and as such we shouldn't lose our ability to use it.
Posting "what have you tried" multiple times per question is severely obnoxious
If repeated comments of this type is the issue, why not the current script which stops you posting this comment entirely, instead first checks if the question already has this comment. If no allow it (so 1 instance of this comment can exist).
Posting "what have you tried" when the user has clearly shown that they have tried to solve it on their own
This is no reason to ban it. I see MANY patterns of things similar, such as poor advice, pointless answer or comment, all of which happen just as many times as WHYT on a decent question.
This issue is just the same as all other issues - the spam, bad question, bad answers, bad comments of a different nature, trolling, gibberish, poor info, etc, etc, etc.
There's always something wrong kicking around, and all banning this comment (WHYT) does is blanket policy removing something which also has its uses.
Let's ban kitchen knives because many criminals are using them. No, I use them for cooking. Sodd off!
A poster has made no effort, so why should we?
Why not "What have you tried" as a quick way of prompting them to do some more effort to help us help them?
So I have to now give the lazy questioner more of my time writing a comment which means the same thing as "What have you tried"?
A downvote is just not enough without a comment. People who do not try and/or who are lazy, either do not care about downvotes, or they just get peeved they got downvoted and don't know why.
The same can be true of comments which they do not like, but with a comment such as "What have you tried" other users can see someone has basically told the questioner they've not provided enough info, and they are free to move on, and/or downvote, but importantly not waste their time on a poor question someone has already responded to adequately.
I'm not talking about using this whenever anything is wrong with the question, of course, but it has its place, and blanket policy ban because it also has its annoyances is not the answer, ever.
Q: "How do I write a PHP script for a web form to email me when visitors fill it in".
A: "What have you tried?"
Oh surely it's a perfect response to the above question, and those CONSTANT ones like it? They make no effort, have no code, want code from others, they get a plain simple "What have you tried".
Makes perfect sense to me.
I'm not going to spend my time writing up a "useful" comment to someone who hasn't tried, only to see my time and comment wasted when they either:
Don't return, ever; Close the question; Respond to the comment moaning they've read all of the internet without finding a resolve; Other shit;