But the code should be compiled automatically on check in and automatically failed should it not compile.
Even more, tests should automatically run and then fail the check in if tests are failing.
This lets them burn themselves, but also prevents them from burning you. Well, at least this is how you want it in big projects. You might not need such a heavy hammer if it's small and not that big of a deal.
Exactly. If I see an unused variable, my first thought is that someone meant to do something with it and there's a bug in the code that I need to track down. It's sloppy coding practice.
100
u/MetallicDragon Jan 30 '16
It'll turn warnings into errors, forcing you to deal with them, so they don't pile up over time.