I'm new to stackoverflow but I figured I would start helping out the community that's been so helpful to me by answering any questions I can.
One trend I've really been noticing is a lot of people simply code the solution to whatever the person was asking and post it. I've always felt like it's more beneficial to the asker to instead give them hints and point them in the right direction (such as explaining in English how they might do it or provide links to applicable APIs).
So my question is which is the way to go? Should you point the person in the right direction and give them hints or flat out give them the solution to their problem? Does it depend on the context of the question? Is it a bug or are they asking how to implement something?
I'm not really sure...