4 ms·
> either compile time (static) or run time (dynamic) type checking But it is not that black and white, is it? Python is actually somewhat static in that it che
by fho 5y ago
> either compile time (static) or run time (dynamic) type checking
But it is not that black and white, is it? Python is actually somewhat static in that it checks (some) types during runtime. Other dynamically typed languages live completely by the "when it quacks like a duck" playbook.
On the other hand, Haskell is completely statically typed. Still you can write many programs without annotating any types at all, as the compiler is pretty good at inferring types from their context.
- deleted 5y ago[deleted]