3 ms·
Type hints are good if you stick to the std + your own code that mostly relies on std. Otherwise, don't bother.
by wheelerof4te 5y ago
Type hints are good if you stick to the std + your own code that mostly relies on std.
Otherwise, don't bother.
- Spivak 5y agoIf you expect type hints to be perfect and completely disallow you to write type unsound code then this is right, if you expect type hints to be useful when developing then this is very wrong. The automatic type hints produced by pyright on completely untyped code are fantastic.