Immutable vs Unmodifiable - What's the difference?
immutable | unmodifiable | Synonyms |
Unable to be changed without exception.
(programming, of a variable) Not able to be altered in the memory after its value is set initially, such as a constant.
Unmodifiable is a synonym of immutable.
As adjectives the difference between immutable and unmodifiable
is that immutable is unable to be changed without exception while unmodifiable is incapable of being modified; immune to modification.As a noun immutable
is something that cannot be changed.immutable
English
Adjective
(-)- The government has enacted an immutable law.