News for hackers. Stuff that matters.
Re:38% of bugs at Airbnb could have been prevented by using ... by hardwaresofton on Monday February 11, 2019 @02:28AM (#19132645)
I'm sure you know this already but you might want to check out:

- https://docs.python.org/3/library/typing.html

- http://mypy-lang.org

Also flake8 has also helped -- it's just a linter but using it in conjunction with the typing module and running that in a watch loop in another terminal window has done wonders for me.

Re:38% of bugs at Airbnb could have been prevented by using ... by 01100011 on Monday February 11, 2019 @04:06AM (#19133005)
And that's awesome, but if you're dealing with a large legacy codebase it will take a while to annotate your code.

I love flake8. Properly tuned, it can be a great help. It saved my butt more than once.