I recently pointed a friend in the direction of Stack Overflow as a place she could get answers to her questions. She responded that she'd tried it but that all that happened was that people would throw code at the question without any explanation.
Looking at recent answers to questions, I think she's right. Too many questions are getting answered with a simple block of code without even an attempt at explaining why the code offers works, why it fixes the askers problem or why it's a better solution. This, I think, is a serious barrier to making Stack Overflow as useful as it could be, especially where the question is asked by someone who is clearly still a beginner.
How can we encourage answers that include decent explanation?