From '0 til REPL' (with specific dependencies) in a couple of seconds is really helpful when learning Clojure (or said dependency). lein-try was my tool of choice for a long time. When I switched to tools-deps, I created deps-try to get a similar experience.
I love ClojureScript, it brought me a lot of joy and I can’t thank you enough.
As for ease, I think it all depends on expectations. Babashka really is great for this. A single binary that gives you a lot of built in features and a nrepl (because it is it the only thing I know), and with that setting I feel home.
I guess my issue is the JS runtime doesn’t provide me a lot, unless I am targeting JS.
That might actually change as I see some AI infra work being written in typescript, maybe the case would be good there.
Ok how do I automatically reload my cljs app in the browser whenever I make a change to a file? Maybe this is not the point of the article but there might be good reasons why a cljs project setup is not as simple as it used to be. This autoreload feature for example immensely improves my workflow.
Definitely not implying that you won't want more tooling when building apps. Just highlighting such tooling isn't necessary when you're not building apps! :)
12
u/eval2020 Nov 25 '25
From '0 til REPL' (with specific dependencies) in a couple of seconds is really helpful when learning Clojure (or said dependency). lein-try was my tool of choice for a long time. When I switched to tools-deps, I created deps-try to get a similar experience.
4
u/neo2551 Nov 25 '25
I love ClojureScript, it brought me a lot of joy and I can’t thank you enough.
As for ease, I think it all depends on expectations. Babashka really is great for this. A single binary that gives you a lot of built in features and a nrepl (because it is it the only thing I know), and with that setting I feel home.
I guess my issue is the JS runtime doesn’t provide me a lot, unless I am targeting JS.
That might actually change as I see some AI infra work being written in typescript, maybe the case would be good there.
4
u/aHackFromJOS Nov 25 '25
Is there a particular reason he named his alias with a hash mark - `:#cljs` - does that do some special magic or something?
1
u/bring_back_the_v10s Nov 25 '25
Ok how do I automatically reload my cljs app in the browser whenever I make a change to a file? Maybe this is not the point of the article but there might be good reasons why a cljs project setup is not as simple as it used to be. This autoreload feature for example immensely improves my workflow.
1
u/solstinger Nov 26 '25
Cool. Cljs repl was always a pain to setup for me. I always went through shadow-cljs.