Back to Tags
Immutability
4 items tagged with "immutability"
Filter by type:
Patterns2
Pattern
Builder
Separates the construction of a complex object from its representation so the same construction process can create different representations step by step.
Pattern
Private Class Data
Restricts accessor-write access to class attributes by isolating data in a separate object exposed read-only after construction, enforcing immutability and encapsulation.
Glossaries2
Glossary
Immutability
Immutability is the property of data that cannot be changed after it is created; modifications produce new values instead of altering the original, which simplifies reasoning and concurrency.
Glossary
Pure Function
A pure function always returns the same output for the same input and has no side effects, meaning it does not read or modify any state outside its own arguments.