3 ms·
> But a dynamic language can have types associated with variables, and it can forbid changing those types after their types have been checked the first time. S
by volemo 2y ago
> But a dynamic language can have types associated with variables, and it can forbid changing those types after their types have been checked the first time.
So, like C++ with `auto`?
- sparkie 2y ago`auto` is still using static typing, and is a tool for type inference. A dynamically typed version might look equivalent but would behave differently, failing at runtime rather than compile time.