immutableprogramming

noun
UK /ɪˈmjuːtəbl ˈprəʊɡræmɪŋ/
US /ɪˈmjuːtəbl ˈproʊɡræmɪŋ/

A way of writing computer programs where things never change after you make them.

In immutable programming, you make a new list instead of changing the old one.


OTHER MEANINGS

2. A coding style that avoids changing variables once they are set.

Her team adopted immutable programming to prevent bugs from shared state.

3. A design approach where updates create new versions instead of editing originals.

Immutable programming makes it easier to undo changes safely.

4. A method of managing data so that old values stay intact for other parts of the program.

With immutable programming, two threads can read the same data without conflicts.