immutability
- noun
- /ɪˌmjuːtəˈbɪləti/
- Specialized
- In functional programming, immutability is favored to enhance referential transparency and avoid unexpected behavior.
Examples
-
You are still in charge of maintaining that immutability.
Fiction book (1994) -
The principle of immutability ensures that objects cannot be modified once created, reducing side effects.
-
Immutability allows developers to write safer code that is less prone to errors.
Synonyms
Cannot be changed back to how it was
The state of being impossible to change or take back
The quality of stored information that cannot be changed
A record or system whose data cannot be changed after it is stored
A state of not changing over time
A state in which something like a rule cannot change
A state of staying the same over time without becoming different
The quality of not changing over time
How Changeable
Surface Forms
Morphology
Etymology
Immutability in computing uses the same parts in- 'not' and mutare 'to change' to describe data or objects that cannot change after they are made, like a 'constant'. So programmers use immutability to make code simpler and to let many parts read the same data without causing problems.