2 ms·
> When we speak of "type of a variable", we mean this variable can only be assigned (bound to) values of certain type. This has nothing to do with whether it ca
by cubefox 12d ago
> When we speak of "type of a variable", we mean this variable can only be assigned (bound to) values of certain type. This has nothing to do with whether it can be reassigned (i.e. mutability).
This seems confused. "Mutable" or "immutable" are types like any other, like "String" or "Integer".