Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Editing your own answer shows a guide that says "always respect the original author". Simple as that. Don't know what else to say about that.
This note comes up when anyone edits any answer.
Adding a check in to see if the editor is the OP just adds complexity, and is unneeded.