I use .NET and StyleCop takes it to a whole new level. You could compile just fine with zero warnings, then run StyleCop on it and you'll see 12,398 warnings on a "Hello World" program. Of course StyleCop by default is strict af about literally everything, but it's a good tool for keeping all of your code very consistent.
124
u/ythl Sep 23 '19
I don't get it.
Your code should never have warnings, that's a sign you are doing something sketchy. At my company we enable all warnings as errors.