3 ms·
There are many good things enabled by immutability, like safer/easier multithreading, value-like semantics for objects. It is definitely not only of academic va
by razzm256 5y ago
There are many good things enabled by immutability, like safer/easier multithreading, value-like semantics for objects. It is definitely not only of academic value.
- AtNightWeCode 5y agoTypically you use values and not objects for these kind of things so not that much gained.
- kaba0 5y agoValues require copying, so depending on the problem it can be worse from a perspective point of view.