So next time you see a piece of code that isn’t quite as it should be, fix both it and everything that depends on it. Manage the pain: if it hurts now, but is going to hurt even more later, you might as well get it over with. Remember the lessons of Software Entropy, don’t live with broken windows.
The Pragmatic Programmer, From Journeyman to Master (Andrew Hunt, David Thomas)