2 ms·
It's really nice to see how type hints are spreading. I've been surprised how natural my adoption of them has been.
by wpietri 6y ago
It's really nice to see how type hints are spreading. I've been surprised how natural my adoption of them has been.
- nitred 6y agoIndeed! I despised them initially thinking typing made code unreadable. But I've grown used to it and I only use type hints when necessary. I use Pydantic when I need more than just "hints" and when validating config file schemas.
- EamonnMR 6y agoPydantic is extremely useful for validation and tab-completion. We've begun using it everywhere.