3 ms·
Mypy with python’s new static types is a fantastic replacement for “real” types. The types mostly don’t exist at runtime (except for some rare cases like how da
by bobbylarrybobby 6y ago
Mypy with python’s new static types is a fantastic replacement for “real” types. The types mostly don’t exist at runtime (except for some rare cases like how dataclass handles ClassVar variables) but they’ll take you very far during development time, especially paired with a language server like Microsoft’s Pylance.