by schemescape · 3y ago · 0 comments
CL also has multiple dispatch and I’m not sure but I don’t think Java supports that.
I’m curious to see other responses. I’m also interested in the reverse: why Clojure over CL? (I assume integration with Java and immutable data structures, but there’s probably more.)
(let [ [a b c] [1 2 3]] (+ a b c))
as opposed to
(multiple-value-bind (a b c) (values 2 3 5) (+ a b c))
Also datastructres maps, sets sequence abstraction in Clojure seem more Organic...in CL its feels like bolted on