Immutabilitet
Immutabilitet, the Danish term for immutability, is the property of an object whose state cannot be changed after creation. In programming, immutable values or data structures cannot be modified in place; any operation that would seem to modify them instead yields a new object with the updated state. This contrasts with mutable objects, which can be altered after creation.
Immutability is a central concept in functional programming and in many modern languages that favor predictable,
Practically, immutability supports safer concurrent execution, easier reasoning about code, and robust auditing. It underpins patterns
Trade-offs include potential increases in memory use and CPU time, since edits may require creating new objects.