3 ms·
Didn't python add static typing?
by schwartzworld 3y ago
Didn't python add static typing?
- giantrobot 3y agoOnly type hints. They help a linter/IDE bitch about types but they don't have any enforcement beyond that. They're great for self documenting methods but don't remove any dynamic typing from the language itself.
- jcparkyn 3y agoI'd argue that typescript is the same, just stricter by default if using TSC. Many people run type checking separately from building/running the code, just like in python.