logoalt Hacker News

mrobtoday at 5:50 PM1 replyview on HN

>Strong static typing has been an option in Python for years now, and it should just be the default.

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

"The Python runtime does not enforce function and variable type annotations. They can be used by third party tools such as type checkers, IDEs, linters, etc."

Which third-party enforcement mechanism do you propose become the default?


Replies

shepherdjerredtoday at 10:04 PM

There are plenty of options for static type checking in Python. Choose your favorite or just use Ty