Hacker News new | ask | show | jobs
by inertiatic 1704 days ago
Never checked? They're statically checked.

Also, tooling like https://pydantic-docs.helpmanual.io/ can do runtime checking for important parts of your app or you can use this https://github.com/agronholm/typeguard to enforce all types at runtime (although I haven't measured the performance impact, probably something to do in a separate environment than production?).

1 comments

They are statically checked, if you run a type checker. Which many don't.