News for hackers. Stuff that matters.
Re:Python’s “type hints” are a bit of a disappointment to me by Jiejeing on Friday April 22, 2022 @08:46AM (#31120943)
The author seems to have unreasonable expectations of the python typing implementation, most of which can be fixed with mypyc and stricter flags. They also did not check the concept of gradual typing which is key to why everything is not strict by default.

I too am disappointed a bit by the type hints because they are not expressive enough for me, and some natural python constructs are hard to express. And because mypy has bugs I encounter from time to time.

There are no comments on this comment yet.