Re:Python’s tug of war between beginner-friendly and advance...
by japanuspus on Friday February 05, 2021 @03:40AM
(#26034301)
> ... And many of the new features such as type annotations have a compromised design due to their being added to Python late in the game. ...
But they tend to get ironed out over time. Python 3.9 adds parametrized generic type hints based directly on container types, alleviating the need for a parallel type-hint type system. i.e. `dict[str, list[int]]` over `typing.Dict[str,...]`
But they tend to get ironed out over time. Python 3.9 adds parametrized generic type hints based directly on container types, alleviating the need for a parallel type-hint type system. i.e. `dict[str, list[int]]` over `typing.Dict[str,...]`