Re:Python’s “type hints” are a bit of a disappointment to me
by the_af on Thursday April 21, 2022 @05:50PM
(#31115615)
Agreed. Static typing is usually enforced during the compile stage in other languages. It's specifically meant to catch problems before running the code (hence the "static" in its name).
This said, I find the linting/type-hint-checking stage of Python cumbersome and confusing :(
This said, I find the linting/type-hint-checking stage of Python cumbersome and confusing :(