Immutable Data Over Mutable State
Kind: algorithm
Record: algorithms:no-mutable
Canonical: Algorithms
Closure: Dependencies in load order
Replace in-place mutation with a pure transform returning new data, so state transitions are reproducible.
Listed in Algorithm contracts, after Structural Release Over Discipline and before Errors As Language Over Silent Errors.