interiormutable
Interiormutable is a term used in some programming contexts, particularly in languages that distinguish between mutable and immutable data structures. It refers to an object or data structure whose internal state can be modified after its creation, but whose external representation or interface remains constant. This concept is often contrasted with truly mutable objects where both internal state and external behavior can change.
The idea behind interiormutable objects is to offer a compromise between the safety of immutability and the
An example might be a cache that internally reorders its elements or replaces them with updated versions,