News for hackers. Stuff that matters.
Re:On Lisp by chongli on Monday August 26, 2013 @12:50PM (#6278186)
Very good point. Mutation is extremely useful when birthing a new data structure; this is a time when it's not yet visible to the rest of the system so the danger of sharing intermediate state does not occur. Clojure has a very elegant facility for dealing with this particular scenario:

http://clojure.org/transients

There are no comments on this comment yet.