News for hackers. Stuff that matters.
Re:Disable comments make static analysis tools worse by fiddlerwoaroof on Tuesday July 06, 2021 @01:45AM (#27744589)
Disable comments are most useful when you’re changing the way a codebase is linted: adding new rules, setting up lint on a legacy codebase, etc.

The value is in making it possible to get to “lint clean” quickly as a first pass, while marking the parts of the code that are tricky to refactor to conform with the style guidelines.

Once the code is lint-clean, you can start reviewing the disable comments and coming up with a more permanent fix.

Re:Disable comments make static analysis tools worse by misnome on Tuesday July 06, 2021 @05:44AM (#27746084)
I get the feeling that a lot of people think building small things starting from scratch is the only way anything is ever built.

Are they good? bad? Yes. It depends on your circumstances and priorities. Saying this doesn't make a very satisfactory article though.