4 ms·
Type annotations aren't entirely optional, though. For example, they're required if you want to use data classes. Even if they were optional, that would still
by pansa2 6y ago
Type annotations aren't entirely optional, though. For example, they're required if you want to use data classes.
Even if they were optional, that would still be a problem. As above, too many optional features are turning Python into a "choose your own subset" language like C++.