Tech Radar

EDITION

Immutability

Techniques · Adopt

Immutability allows code to be more easily written, read and reasoned about. In object-oriented and functional programming, an immutable object's state cannot be modified after it is created. Immutable objects are simple and predictable. An immutable object can be in exactly one state, the state in which it was created. Immutable objects are inherently thread-safe and require no synchronization.

In all Skai codebases, existing and new, Immutability should be adopted both in objects definitions and as a technical design KPI.