I do that too, but the code I work with is objectively shit - I can provide the daily WTF with months of wtfs. Maybe I should, but if the previous guy finds it I may be in trouble (I think he's still a shareholder?).
The first thing my colleagues did after he left was replace all the code he wrote in the C codebase (I work on the front-end, there's a few years worth of work yet to rebuild it).
I'm talking stuff like 15K LOC files with 4-5 times nested switch/case/if/else blocks; string concatenating XML to a global variable, then at the end converting it to JSON; string concatenating HTML with embedded JS and CSS in a JS function inside of a PHP file; using a semicolon-separated value in a database column instead of a simple foreign key (more fun when there's an extra value attached to it, separated with a colon).
It's already not an easy domain or a simple application (thousands of fields across dozens of models), but the lack of coding practices only made it worse.