3 ms·
IMHO Clojures steeper learning curve comes from having more features built right into the language. Scheme is refreshingly simple, but Clojure gives me so much
by dkersten 17y ago
IMHO Clojures steeper learning curve comes from having more features built right into the language. Scheme is refreshingly simple, but Clojure gives me so much more, right out of the box: instead of being based around lists, as Scheme and Common Lisp are, Clojure is based on sequences (which are really just an abstraction over lists, vectors, maps, sets and regexes - but this means you get lists, vectors, maps, sets and regexes built in); Clojure has direct access to the JVM and therefore Java objects; Clojure has built in multiple dispatch, concurrency support (with transactional memory) and a bunch more.
So, while Scheme is definitely a lot simpler, Clojure has a lot more built right in (I'm fairly sure Scheme provides libraries for a lot of, if not all, of these features though). Actually, since most of Clojures advanced features can be ignored, I think the only thing thats more complex is the way the syntax uses () and [] (though, IMHO it does make the code simpler once you understand it) and the list/vector/maps/sets - since instead of everything being a list, it can now be one of many different data structures (though in practice having them makes life easy).
Clojure also benefits from a wealth of libraries, since you can use any Java class directly from Clojure.
Disclosure: my experience with Scheme is limited to reading SICP, but I've been using Clojure a LOT over the past 4 or 5 months, so obviously Im biased :-)