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

immutability

Name: Anonymous 2011-12-29 20:17

Is there a benefit to immutable data structures like in Clojure and erlang? What does it do for you versus just not mutating mutable objects?

Name: Anonymous 2011-12-29 20:38

>>1
Immutable data means you don't need to lock concurrent access to variables since a change will never be observed. Clojure seems to be more sophisticated, IIRC >>2 doesn't apply as much to Erlang as it does to Clojure.

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