mutable: can modify it
const: cannot modify it through the reference, but other mutable references can still modify it
immutable: nobody can modify it
The 'immutable' is great for writing threaded code, as no synchronization is necessary.
mutable: can modify it
const: cannot modify it through the reference, but other mutable references can still modify it
immutable: nobody can modify it
The 'immutable' is great for writing threaded code, as no synchronization is necessary.