Re:Experiment: Unit testing isn't enough; You need static ty...
by afrozenator on Wednesday June 20, 2012 @01:26PM
(#4138016)
Wow thanks, I didn't know pyflakes. I knew pylint, but will make it more of a point to run it. I only occasionally need to code in Python, but when I have to, it is legacy code that I modify.
Re:Experiment: Unit testing isn't enough; You need static ty...
by riffraff on Wednesday June 20, 2012 @01:37PM
(#4138080)
glad to be helpful.
Depending on your editor of choice, you can get integrated pyflakes/pyling/flake8, e.g. I use vim and the syntastic plugin which is great.
This way, you get a bit of on the fly static checking without needing to remember command line tools/using vcs hooks, which is much more productive.
Re:Experiment: Unit testing isn't enough; You need static ty...
by afrozenator on Wednesday June 20, 2012 @01:45PM
(#4138130)
Will keep this in mind the next time around!
Thanks again.
As another example, Java may let you get NullPointerException, but FindBugs detects a lot of those.