Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best practices for handling warnings

Tags:

c#

warnings

The project I'm currently working on generates 30+ warnings each time it gets build. They were ignored from the beginning of the projects. I guess due to the lack of policy about warnings.

How do you usually handle this? Ignore them altogether? Try to fix them all at once (this requires some time)? Or just fix bit by bit along the way?

like image 309
Pavel Bastov Avatar asked May 15 '09 05:05

Pavel Bastov


1 Answers

In our development team, each person needs to clean up their warnings before beer o'clock on Friday. If you do not fix your warnings - no beer for you. It is surprisingly a good motivator.

like image 166
Dennis Avatar answered Sep 23 '22 07:09

Dennis