Sometimes I get some very useful comments on my own answers and feel the urge to correct them accordingly. However, I see the problem, that if I just correct my answer straight, this would leave the comments incomprehensible to other users, as the comments refer to the original version and not to the one the user now sees. So, what would be the best practice here?
- Just edit the question and expect the user to look into the version history, if he/she doesn't understand the comment.
- Same as above but state it boldly that the answer was changed (put something like EDITED on top of your answer)
- Put some EDIT mark below the original answer and append the revised answer below
- Post it as a new answer, referring to the old answer and comments (?)
- Some alternative I haven't thought about?
Note: of course, this refers only to edits that change the answer substantially, not minor edits like grammar or spelling corrections. One example I have in mind is my answer here, where I changed the code almost completely in response to the comments.