Immutable data cannot be changed once create leading to much simpler application development, no defensive copying, and enabling advanced memoization and change detection techniques with simple logic. Persistent data presents a mutative API which does not update the data in-place, but instead always yields . In object-oriented and functional programming, an immutable object ( unchangeable object) is an object whose state cannot be modified after it is created. This is in contrast to a mutable object (changeable object), which can be modified after it is created. In some cases, an object is considered immutable even if some . Bufret Lignende Oversett denne siden Immutable definition, not mutable; unchangeable; changeless. An object is considered immutable if its state cannot change after it is constructed.
Maximum reliance on immutable objects is widely accepted as a sound strategy for creating simple, reliable code. Immutable objects are particularly useful in concurrent applications. Since they cannot change state, they cannot be corrupted . Immutable comes to us through Middle English from Latin immutabilis, meaning unable to change. Immutabilis was formed by combining the negative prefix in- with mutabilis, which comes from the Latin verb mutare and means to change. Some other English words that can be traced back to mutare are commute . There are many things in life that are immutable ; these unchangeable things include death, taxes, and the laws of physics.
Что такое иммутабельность Неизменяемым (англ. immutable ) называется объект, состояние которого не может быть изменено после создания. Результатом любой модификации такого объекта всегда будет. Synonyms for immutable at Thesaurus.
Redux FAQ: Immutable Data. Dictionary and Word of the Day. What are the benefits of immutability ? Why is immutability required by Redux? How do Shallow and Deep Equality Checking differ?
How does Redux use shallow equality checking?