I had a strong discussion with one person about the quality of my answer, and I would like to get an independent opinion.
The question was that user wanted to implement some method himself, but it didn't work. I realized that the problem was in how he calls the method (he did not store results in a variable), so I pointed him to this problem.
But somebody downvoted my answer (and all others). I started to discuss the completeness of my answer with this person via comments. He thinks that it's poor quality because I did not re-implement the original method that did not cover some corner cases. He did not accept my statement that I fixed the problem that the user had, and therefore the asker can continue with his task.
What do you think? Shall we teach newbie programmers so they can learn from their mistakes, or shall we present complete solutions so they can copy/paste them?