This is somewhat similar to the homework question, but I'm not asking about people who have homework to do but problems to solve (which may or may not be homework). If you decide that the way to find out how to solve a problem is to ask a question on stackoverflow, are you expecting someone to "pls show u teh codes" or to help you enough that you can learn about the problem and try to solve it? My own response to SO questions (being a mentor of other developers and, in a past job, a teacher of undergraduates) is to give hints, like "you can do this with X API" or "this document shows you how to do it", because that's what I'd like to see; I would want someone to give me enough of a push that I could still believe I've solved my own problem. But I've seen a number of questions with answers like this which then have comments like "but what code do I write to answer this question?", including occasional threats/carrots-on-sticks involving the award of reputation points.
So, which type of answer are you looking for? Which type of programmer would you want to work with?