3 ms·
Well that's exactly the point. It's statically typed, so of course types have to be known at compile-time, but it can use type inference rather than explicitly
by MaxBarraclough 8y ago
Well that's exactly the point. It's statically typed, so of course types have to be known at compile-time, but it can use type inference rather than explicitly expressing type in declarations.
Static typing with type inference is still static typing.
Vaguely related: many people also confuse 'dynamically typed' and 'untyped', despite that they're not even close.