Re:Why Clojure? (2018)
by jsiepkes on Sunday January 03, 2021 @01:39PM
(#25623873)
Immutability is very useful for dealing with concurrency. For example if a thread is iterating over a vector and an other thread mutates it you don't want the first thread to get "the rug pulled from under it" so to say. If things can never be suddenly changed, you don't have to plan for that.
[ Parent
| on HN ]
There are no comments on this comment yet.