Re:Python 3 Types in the Wild
by IshKebab on Sunday March 20, 2022 @02:57PM
(#30745478)
This is only because the Python type hinting ecosystem is so bad. Tons of projects don't have type hints, there are multiple conflicting interpretations of the types, MyPy is very buggy (Pyright is much much better but few people use it).
Compare it to Typescript which is a similar sort of tacked on type hinting system - Typescript is basically always machine checked.
Compare it to Typescript which is a similar sort of tacked on type hinting system - Typescript is basically always machine checked.