If an OP posts a question that does not demonstrate too much effort / research, would it be considered unfriendly if in a comment I ask them:
"You want us to write code for you?"
or
"Do you expect us to solve your homework for you?"
If they say "yes, write the code for me", then we can know that this question can be deleted immediately (and save everyone time), or am I mistaken?