When answering questions on SO (And SE in general) I always think about the problem of the OP, how to explain the solution in a way that he/she understands and solves the problem, and then the current context and content of the question to serve as a good knowledge base for future users.
This works well with good answers: Write a good quality answer, with a good format, references, explanations, etc; and the answer will be well received by others and it will be upvoted since it was usefull. But, what about bad answers?
Sometimes I wrote an answer which isn't well-received, or the solution I had proposed was a very bad idea (which I've realized only after a downvoter comments...—so yes, do please always write comments after downvoting). What I should do with that?
I could delete the answer since its not a good answer at all, and only serves to gain downvotes. But I consider that a bad answer could contribute to the Q/A too, not showing what you should do as good and upvoted answers do, but showing a very bad idea and what you should never do in that situation.
Considering that, what should we do with downvoted answers which have been revised and commented by downvoters?
Should we delete them? Or should we leave them there as more knowledge for the Q/A?