Re:Python type hints may not be not for me in practice
by sevensor on Wednesday November 27, 2024 @09:47PM
(#42261958)
As a heavy user of Python’s type annotations, I’m very happy with them, but I would like for them to be first class at runtime, so I can do useful and interesting things with them. The status quo is that a type annotation can be a class, a string, or a “typing special form.” I would like for a type annotation to be an object that could exist independently and be treated as a value, and this is only sometimes true.
[ Parent
| on HN ]
There are no comments on this comment yet.