News for hackers. Stuff that matters.
Re:Bringing Clojure programming to Enterprise (2021) by arafeq on Thursday April 02, 2026 @10:39AM (#47615148)
simplest way to think about it: the python repl is a scratch pad next to your code. the clojure repl IS your running application. you're rewiring the plane mid-flight instead of landing, making changes, and taking off again. once you experience that feedback loop you genuinely can't go back.
Re:Bringing Clojure programming to Enterprise (2021) by stephbook on Thursday April 02, 2026 @11:37AM (#47615915)
Doesn't sound too different from Typescript breakpoints attached to a running website with "Hot Module Replacement."
Re:Bringing Clojure programming to Enterprise (2021) by joshlemer on Thursday April 02, 2026 @12:06PM (#47616312)
Yeah to be honest after trying for many years to understand what is so special about this famous Clojure REPL I struggled to see how it was that different in practice from Python or other languages. In Python you can also highlight a section code and send it to the console to be evaluated.

TBH I think debuggers are just better anyways. When I got into the weeds with trying to do this interactive REPL workflow on actually running webapp code in Clojure it was a big mess. You have to use clojure code to basically capture data and save it into global variables so that you can inspect them (as opposed to a debugger where you can just set a breakpoint and inspect all the variables in the middle of the precise spot in the request-response cycle.

I think maybe this was ahead of its time when it came out in 2008 or got popular in 2010-2015, but nowadays I am not seeing what's specifically more productive about the Clojure REPL than the interactive development experiences available in Laravel, Python, JS, etc.

Re:Bringing Clojure programming to Enterprise (2021) by stephbook on Thursday April 02, 2026 @12:21PM (#47616511)
To be fair to Clojure, I think it's perfect for rule-engines, where the users supply "business logic" at runtime.

That's where "code is data" shines and you can manipulate it at will. For the rest, I'm glad I have "code as text" in my editor, where I can see and inspect it far more easily than one line at a time.

Re:Bringing Clojure programming to Enterprise (2021) by slifin on Thursday April 02, 2026 @01:01PM (#47617046)
As someone who loves the clojure repl I do somewhat agree with debuggers are better

If it was like a choice, Clojure has my favourite reverse debugger flowstorm which also exposes the runtime information of your program programmatically

So you can code cool visual programs against the runtime values of your first program

Like I built an emulator at work that simulates our program in production as a flowstorm plugin then you can step through the program frame by frame

I love taking the guess work out of production issues, just get the computer to show you exactly how everything went down

It's like a rewindable movie made up of thousands or millions of frames of the execution of your program