3 ms·
I agree with you about the book, it's not for everyone. > I know the clojurescript people are all enthusiastic these days, but the strength of clojure is its c
by smnplk 10y ago
I agree with you about the book, it's not for everyone.
> I know the clojurescript people are all enthusiastic these days, but the strength of clojure is its concurrency and seemless interop with the java ecosystem; if you don't need those, it's just another lisp.
You lose both of those with clojurescript, and I fail to any benefit in it.
No, it's not just another lisp. There are very compelling reasons why one would chose Clojure even if it didn't have those nice concurrency abstractions. Built in persistent data structures give you the ability to separate values with identities, because of awesome sequence abstraction you usually don't have to care about the exact type of some sequence, the same functions just seem to magically work on all of them, which enables you to think on a higher level, about data streams and transformations. Lazy sequences are also a big benefit, when you want to deal with data that is just too large to fit into memory. Then there are transducers, the decoupling that OO can only dream about.
So I beg to differ.