Hacker News new | ask | show | jobs
by shepherdjerred 1647 days ago
You can pry TypeScript from my cold dead hands.

(Good) static typing is the single most useful thing of any programming language. A large, disorganized project in Java is far better than the same thing in Python or Ruby.

1 comments

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.
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.