#type-inference

[ follow ]
Python
fromPeterbe
2 days ago

In Python, you have to specify the type and not rely on inference - Peterbe.com

TypeScript infers literal argument types causing compile-time errors for mismatched values; Python's mypy requires explicit annotations to report the same mismatches.
[ Load more ]