Also known as
Aim to keep the build clean.
When we start a new project from scratch, the build is clean and initially there are no warnings, no problems. As the code base grows, we start to see warnings in the build log. If we don’t pay attention, the warnings start piling up.
When there’s a lot of noise, it’s much harder to find the warning that I really want to read among the hundreds of warnings I don’t care about.
Whenever you build the code.
Don’t wait for a pile of warnings before you start cleaning up. The moment the warnings are seen, deal with them to ensure that they don’t turn up into noise very soon.
Warnings from the build are useful. To get the focus on to the warnings, it is essential to get rid of the noise. If the build has little or no noise, it is easy to spot a new warning easily.
It is easier for someone to take over my work, if the build is clean. My successor won’t have to wonder if any warning is to be ignored or fixed.