I'd say:
- Decide if your answer is much of an improvement on another, or only a little tweak. If you think it is different enough, post it separately.
- If your answer is different enough from somebody else's, but still is based oh theirs, credit and link to the original answer.
- If you are tweaking someone else's answer, leave some mention of your edit with your nick in the answer: "edited by codelurker to clarify the explanation in the 2nd paragraph" or "edit: >NL< to understand this, you may need to know that ..." etc.; unless it either just 1) spelling corrections, 2) grammar corrections where there is little doubt that the original and revised meaning are the same, or 3) formatting improvements that don't change the meaning.
- It is good to try to communicate with someone whose answer you edited. E.g., if you just mention their nick in a comment, they will have a message about it in their inbox.
I say that if we weren't supposed to edit each others' answers, it wouldn't have been designed that way. Sometimes editors come in and improve the formatting of your answers. I've had another user help me with my formatting before. I think you indeed don't want to junk up the answers with a lot of slightly different answers to a question. If the original answerer knows about your edits and doesn't disapprove, you aren't putting words in another person's mouth. An original answerer alerted to the edits can always go back and look at the editing history of an answer, and even revert it.
I would like Stack Overflow avoid the problem of WikiPedia, of having armies of highly-biased editors marginalizing and burying significant alternative viewpoints. By leaving notice that an answer has been edited, it allows someone to take credit for the unusual dual or more authorship of the answer, and it queues the reader that a second person has edited it; and if one knows how, it is a quick process to go into the revision history of an answer and see what was originally written. It would not make sense for them to have notes below every section that somebody did significant edits to. The lists would be HUGE. The situation is different for Stack Overflow, where, for the most part, each person gets to post one or more answers; but most answers are by a single poster, excepting minor corrections. Imagine a correction like "edited by CodeLurker to fix an uninitialized pointer reference in the washElephant() function". Someone going back and seeing that who has used that code, would know that there is a fix that they need to paste into their code, for a bug they probably haven't hit yet (or they could just test every line of code, like they probably should). I suppose ideally, there might be a button to press, and see other contributors to the answer, along with notes as to a quick overview of what each contributor did. Even that wouldn't be as instant as being able to significant edits at a glance. Perhaps it is more about warning of important edits; but the need for warnings is only enhanced, not diminished, by another editor, IMHO. While they are not so much of a factor here, another contributor does bring an added risk of political motivations for the editing, as well as simply a different philosophy or approach - which sometimes may not even be apparent to him or her. I think significant edits made by an original author or other party, do not need to be warned of, if the answer has just recently been posted; and the chances are poor that someone has already used the code or technique in their program.
I think a short answer which adds (significantly) to another's answer is valid. I've seen helpful comments that way. I'd say, just link to the original answer, and add your additional info, e.g. "it helps if you rub on his elbow and wear blue suspenders".