News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by wheelerof4te on Friday April 22, 2022 @09:56AM (#31121574)
Type hints are good if you stick to the std + your own code that mostly relies on std.

Otherwise, don't bother.

Re:Python’s “type hints” are a bit of a disappointment to me by Spivak on Friday April 22, 2022 @10:14AM (#31121797)
If 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.