Re:“Mostly functional” programming does not work
by molikto on Sunday April 27, 2014 @09:49AM
(#7655025)
Is there any reference for transactional semantics?
[ Parent
| on HN ]
Re:“Mostly functional” programming does not work
by eigenrick on Sunday April 27, 2014 @09:55AM
(#7655053)
I would strongly look at Clojure's implementation of Atoms, Agents and Refs. IMO that is the best isolation of mutation I've seen in any language.
What do I mean by isolation of mutation? As stated above, all applications end up needing global shared mutable state (usually it lives in databases, but doesn't have to). So Rich Hickey created mechanisms to do such things safely and concisely.