One reason I participate by answering questions on SO is to help newbie questioners learn the trade we share. It's an altruistic, "give-back", sort of thing for me.
I look for questions that offer opportunities for answers like "if you think through this problem using thus-and-such a concept, you'll get a working solution. For example, here's some code that might do that. See how this works? Blah blah blah. You can apply it to your situation. Etc."
This sometimes has the desired effect: the question and other people learn something, and sometimes I do too. That's gratifying.
But often I find that I've overestimated the questioner's capability. He then does something dumb like deleting a method and replacing it with the text of a partial SQL query from my answer. He comes back with a comment saying "that didn't work" and a syntax error. Now I have some choices:
- downvote and ignore the question going forward (easiest).
- engage by editing my answer in response to his comment. I sometimes make it a community wiki answer when I do that. In my experience, nobody "gets" community wiki.
- Put a suggestion (wait! that was SQL code, not Java code! Use it like so!) in a comment.
- Write a comment like this: "with respect, you need to learn more about how tech A fits with tech B before you will be able to tackle this problem successfully."
So dear fellow professional and enthusiast programmers, what's the right thing to do when the questioner isn't equipped with the skills to use an answer? Should I put a close-vote on the question? There's no specific close-reason saying "it's unclear TO YOU what you're asking"? Should I offer a reference to a tutorial on a comment? Should I delete my answer?
Or should I find a different volunteer activity where I can give back by helping n00bz get started?
Any experiences you've had with this are welcome.
There's no specific close-reason saying "it's unclear TO YOU what you're asking"?
I miss you, "minimal understanding." I really do.