Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Immutability

Name: Anonymous 2014-03-15 3:20

Aside from the case of reads and writes of reference types in the context of concurrency, what's so good about immutability?

Name: Anonymous 2014-03-15 4:04

>>1
As >>2-san noted, concurrency is good enough a reason. However the direct consequence of immutability is that it enables referential transparency and memoization.

http://en.wikipedia.org/wiki/Referential_transparency_%28computer_science%29
http://en.wikipedia.org/wiki/Memoization

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List