3 ms·
Is "static code analyzer" the new spelling for lint(1)? https://www.freebsd.org/cgi/man.cgi?query=lint&sektion=1 https://www.freebsd.org/cgi/man.cgi?query=lint
by pdkl95 12y ago
Is "static code analyzer" the new spelling for lint(1)?
https://www.freebsd.org/cgi/man.cgi?query=lint&sektion=1 https://www.freebsd.org/cgi/man.cgi?query=lint&sektion=1
I've always been a big fan of code linters. They may not be perfect, but any bug you can catch at compile-time (or earlier) could be saving you hours of trying to track down runtime problems. In languages with a managed runtime such as ruby where you don't really have the same kind of compile-time checking, a good linter is even more important.
It was a pretty crazy day when I first found RuboCop. I immediately used it on the large amount of ruby I've written over the last ~decade.