News for hackers. Stuff that matters.
Re:Why Don't Software Developers Use Static Analysis Tools t... by falcolas on Friday June 26, 2015 @08:47AM (#9783919)
Guessing you're referring to the infamous Python PEP-8 limitation. Most linters let you trivially change this line length in a way which either affects the linter permanently, or on a per-project basis.

For example, you can get very fine grained control over pylint by asking it to generate a config file, and reading through it (it's remarkably well commented).

Re:Why Don't Software Developers Use Static Analysis Tools t... by omouse on Friday June 26, 2015 @09:37AM (#9784205)
You still have to go through the config and enable/disable things for your project. That's the biggest barrier; the lack of good default configs to use for flake8 and pylint. If Google or Microsoft or someone else supplied one, I'd just take it and drop it into every project. One less headache to worry about.
Re:Why Don't Software Developers Use Static Analysis Tools t... by falcolas on Friday June 26, 2015 @09:43AM (#9784237)
That's a remarkably low barrier to entry. Not to mention that the coding standard they are enforcing is based on the official language coding standards - that makes them very reasonable defaults.
Re:Why Don't Software Developers Use Static Analysis Tools t... by omouse on Friday June 26, 2015 @10:09AM (#9784435)
Yep it is and yet the coworkers don't want to do anything about setting up the infrastructure for static analysis or code checking of any kind. It's an attitude I've encountered at many other companies which is unfortunate.

I think it boils down to being timid and not wanting to impose one standard on others which reduces the importance of coding standards to tabs vs spaces -_-'

Re:Why Don't Software Developers Use Static Analysis Tools t... by crdoconnor on Friday June 26, 2015 @10:54AM (#9784822)
The effort:reward ratio is still out of whack here, though. Linters are relatively limited in usefulness at the best of times (compared to tests, for instance).

Linters that can't rank rule violations sensibly, have bad defaults and opinionated stylistic rules quickly become more trouble than they're worth.

If somebody comes out with a better linter, though, that isn't verbose and just catches truly problematic code consistently without needing a ton of customization, I'll use that for sure.