3 ms·
> "1. I think Clojure is much simpler" Scala is now 170,000+ lines of code. Clojure on the other hand is about ~30,000 lines of Java and 4,000 lines of Clojure
by swannodette 17y ago
> "1. I think Clojure is much simpler"
Scala is now 170,000+ lines of code. Clojure on the other hand is about ~30,000 lines of Java and 4,000 lines of Clojure.
Scala brings a very sophisticated and robust type system. This has it's benefits but it also seems to inject a considerable amount of of complexity. I haven't experienced Scala's type system so I won't venture further than that. If somebody asked me where the complexity was in Clojure I would answer thus:
1. Understanding the roles of the various concurrency primitives
2. Making idiomatic Clojure fast w/o resorting to mutable Java
3. Macros (if you haven't written them before)
Besides these three areas, Clojure is mind-blowingly and beautifully simple. I've found it to be as "conceptually" small as C or JavaScript while adding an incredible amount of expressive power.
EDIT: I have no actual opinion about Scala. It looks like great technology.