Written by
Aaron Bell
on
on
Clj vs. Lein
The clj
tool evaluates expressions; Leiningen (lein
) does not. Lein enables easy jar building with lein [uber]jar
; clj
does not. Lein offers easier builds at the price of a heavier weight build system. Clj offers more control and the ability to run ad hoc expressions. To use clj
to build jar files, you use the tools.build library in some Clojure code. To evaluate expressions from the command line using Lein… you can’t.