mutables
Mutables are data values whose internal state can be changed after they are created. In programming languages, mutability describes whether a variable, reference, or the data structure it points to can be altered. Some languages treat mutation as a core, unrestricted feature, while others emphasize immutability, requiring explicit permissions or patterns to modify state. The concept of mutability influences how programs are reasoned about, particularly with regard to side effects and state changes.
Mutable entities commonly include arrays, lists, maps, and objects. These structures can be updated in place
The use of mutables offers performance advantages for frequent updates and can simplify imperative programming models.