5 ms·
I believe it's because Clojure constrains itself to immutable data structures, while Lisp allows both mutable and immutable structures. You can do functional p
by jcl 17y ago
I believe it's because Clojure constrains itself to immutable data structures, while Lisp allows both mutable and immutable structures. You can do functional programming in Lisp -- like you can many other non-functional languages -- but it isn't required as it is in Clojure.
- jrockway 17y agoClojure has mutable data structures now. Apparently it was too hard to write a compiler to figure out what could be mutated, so now it's up to the programmer to perform that optimization.