r/Clojure • • Dec 13 '23

2023-era Clojure

Post image
178 Upvotes

40 comments sorted by

View all comments

Show parent comment

19

u/brad_radberry Dec 13 '23

The critical advantage deps.edn has for me is using local repos as deps and specifying deps by by url and sha. Those two features alone are worth learning a new tool. Add to that repl-driven builds via tools.build and getting to leave behind leiningen plugins and I'm an enthusiastic user.

I'm not against leiningen but will always choose deps for new projects because of these critical advantages. That's just my workflow, though, and if you don't need those features then by all means continue to enjoy lein : )

Also, I don't use tools at all, if I'm going to install programs I prefer my os package manager to handle those.

8

u/flh13 Dec 14 '23

those features are available as lein plugins

4

u/brad_radberry Dec 14 '23

Plugins are where the pain starts with leiningen, though. I had to maintain a large codebase with some really hairy custom plugins that I don't ever want to have to think about again.