What are the people on this website looking for?
- Straight, working code that they can just copy/paste into their programs?
- How they should think, the function and the patterns they should use, links to documentation, blogs discussing the problem, related topics, etc.
Sometimes I've seen people give a good hint to help askers resolve their problem (by which I mean, if they would have used this link/pattern/function they would have solved their problem). But instead of accepting such an answer, they would rather accept an answer from someone else who gave them the code to use directly.
So, which strategy should answers follow?