Hacker News new | ask | show | jobs
by londt8 2274 days ago
You can use strict types and enforce that all types are correct during runtime. Check out mypy with "--no-any-expression" flag and Pydantic.