3 ms·
It's ultimately about making code easier to reason about. Immutability (at least as a default) makes the dataflow between independent portions of your program c
by silentbicycle 16y ago
It's ultimately about making code easier to reason about. Immutability (at least as a default) makes the dataflow between independent portions of your program clearer, since every value is determined by where it came from, not where it came from and everything that could have potentially touched it along the way.
- silentbicycle 16y agoOh: Easier for the compiler to reason about, too. Not just the programmers.