Immutability Glossary

Browse 6 immutability terms defined in plain English, from the cultural dictionary of computing.

6 Immutability Terms

Case Class
In Scala, a class annotated with the case keyword that automatically generates equals, hashCode, toString, copy, and a companion-object apply method — designed...
Object Lock
A storage control that prevents an object from being modified or deleted for a defined retention period, often used in cloud object stores. Object lock is...
Persistent Data Structure
A data structure that preserves all previous versions of itself when modified, returning a new version that shares most of its structure with the old one...
Record Type
A named, typically immutable composite data type whose identity is defined by its field values rather than by reference — two records with identical fields are...
Val
A keyword in Kotlin, Scala, and Swift that declares an immutable variable binding — once assigned, it cannot be reassigned. The counterpart of var (mutable)....
Value Object
An object defined by its attribute values rather than a unique identity — two value objects with the same fields are considered equal. Value objects are...

Related Topics