I've come across many questions, with varying styles of answers, and I was wondering which way is the best way to answer.
Obviously I want to take into account the askers common sense, but I'm never sure if I should nudge them in the right direction, without writing the code for them. Helping more only if asked for.
Or if I should try and hold their hand through the answer? Explaining everything related to the answer, and essentially writing the code for them?
EDIT:
Louis in the comments said:
The one more likely to teach someone the principle involved (teach them to fish rather than fish for them)?
What I mean is along those lines, personally, I'd prefer to teach them how to come to the solution themselves rather than explicitly giving them the answer. To me, doing it that way would be more of a learning experience, rather than giving them the ability to copy and paste and forget about why the code should be like that.
I'm just concerned that doing things that way would be seen as vague by other users and be downvoted for it...