3 ms·
> ... 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 t
by japanuspus 6y ago
> ... 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,...]`
- pansa2 6y agoThat’s exactly the feature that’s causing the problem in this article.