3 ms·
The issue though is that Python's type annotation is not a substitute for type checking. Annotations are optional and can be inaccurate. That's fine, this is p
by dagmx 6y ago
The issue though is that Python's type annotation is not a substitute for type checking. Annotations are optional and can be inaccurate.
That's fine, this is part of the design of Python. However strict type systems are a benefit of other languages, that may not fit Python. Type annotation shouldn't be considered an alternative to a type system.