Hacker News new | ask | show | jobs
by ok_dad 1647 days ago
Python is fine if you have a good IDE and a very strict type checker config. I use the most strict configs I can manage and it's almost at par with static typed languages, at least where you're developing and refactoring. Runtime is another matter altogether, though I've never had problems with Python once I have ensured types going in and out match and validate inputs.
1 comments

The problem with Python type checking is that the general community still does not write libraries with types. On the other hand, the JS community is further along and most libraries written today include TS files. I think the same will happen with Python, but it obviously takes time.
I’ll give you that. I only use standard library stuff and some really good 3rd party libraries that either have types or type hint packages.