>making your little corner of the codebase nicer than the rest of it is fine, actually
As TFA points out, you might find out that you've made your little corner worse, actually.
As TFA points out, you might find out that you've made your little corner worse, actually.
Also:
>you should fix them!
OK, great! See you in 10 years when you've fixed everything and are ready to start implementing stakeholder requirements.