I don't think assuming people who disagree with you lack confidence and are "compensating" is an effective way to reach an audience.
Rewriting your teammate’s code
There should be no such thing as "your teammates code", there is only your team's code. If the changes were improvements they should be welcomed by the team, if they worsen the code they should be unwelcomed - independent of who first authored the lines.
There is absolutely judgement involved in refactoring, code replication, and choosing the right abstraction. But this article doesn't offer much wisdom that helps with those decisions.