3 ms·
Here's a tip: if you can put a number on some part of your grind, and you have some colleagues who are competitive, with each other or with the metric itself (i
by jeffrallen 6y ago
Here's a tip: if you can put a number on some part of your grind, and you have some colleagues who are competitive, with each other or with the metric itself (i.e. "can't stop, the warning count is not ZERO!!1!) then you can get help grinding.
I joined a team with 2000 compiler warnings, then set up CI. The "compiled, but with warnings" orange box stayed orange, even as I started killing warnings a few at a time. Then I put a "grep warn | wc" in the CI and another colleague got into the game and drove the warning count to zero a few days later.
I immediately checked in -Werr and we never had a compiler warning problem again.
Grind, but have a plan to stop grinding.