I'm still disappointed that the lisp community has mostly fractured since the 90s.
Do you think so? Currently it's split between Schemers (Racket being a subset), Lispers (majority using CL) and Clojurians.
Those three languages are markedly different to be honest, so I wouldn't say that there's a "fracture".
A Schemer moving to Common Lisp will miss the high performance first-class continuations, third-party code based mainly in recursion, and the simple, elegant, uniform syntax.
A Clojurian moving to Common Lisp will miss the immutable data, lots of built-in syntax sugar,, built-in concurrency support, built-in JVM integration, and easy dictionaries everywhere. He/she will find it complex and difficult.
A Common Lisp programmer moving to Scheme will miss the easy portability, image-based development, and practical features (like nil = false, documentation features, etc.)
A Common Lisp programmer moving to Clojure will miss the method combinations, multimethods, meta-object protocol, image-based development. compilation to native code, built-in disassembler, full numerical tower, performance that can reach C speed, code portable through dozens of implementations being able to run on almost any CPU and OS, reader macros, fully despotic macros, no [] littering the syntax, multiple namespaces, fully inspectable stacktraces, producing executable binaries, and the ability to redefine everything while the program is running, including changing the classes of instances that are alive in memory.
As a newbie Schemer what would I think about Clojure?
I'm not a Schemer but as far as I have seen usually code is written in the recursive style, and Scheme implementations require tail call optimization as a mandatory feature.
Clojure does not have TCO, instead there is a recur keyword to workaround the lack of TCO, which isn't a fault of Clojure but a fault of the JVM. (Or maybe the fault is designing Clojure around the JVM...)
There are also no first-class continuations, but at least there is a library to support them. Of course, they won't be as high-performance as in Scheme. On the other hand, Clojure has built-in support for several kind of concurrency programming models.
Many Schemers will tell you that the continuations are one of the most powerful features of Scheme; you can create all sorts of concurrency models, coroutines and exception handling based on them.
Clojure "lacks" scheme-style hygienic macros but they are available through libraries.
Clojure is always promoted as "the modern lisp" but honestly it is a different language. However it isn't difficult to learn for a Schemer or Lisper.
8
u/flipstables Dec 18 '18
That's a good perspective. I'm still disappointed that the lisp community has mostly fractured since the 90s.
I hope clojure and functional programming get more popular.