Clj vs. Lein
clj tool evaluates expressions; Leiningen (
lein) does not. Lein enables easy jar building with
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.