News for hackers. Stuff that matters.
Re:The one about Lisp interactivity by zen21 on Friday November 11, 2022 @02:48PM (#33565841)
This seems to leave out the existence of debuggers in IDEs.

These days I tend to run most new code in the debugger, and step through it so I can see what’s going on. This works great in say, Rust, Python, or Swift. I haven’t used Java for a while, but I don’t see why it wouldn’t work well there too.

I feel very connected to the code.

Re:The one about Lisp interactivity by dimitar on Friday November 11, 2022 @03:06PM (#33566096)
The author does mention debuggers. But you don't normally run a debugger on production or a testing environment and with a REPL you can. A debugger situates a program differently than it is normally used, a REPL connects to your code/state/environment in any stage of development.
Re:The one about Lisp interactivity by synthc on Friday November 11, 2022 @04:02PM (#33566793)
I would also not normally connect to a REPL in a production environment, but it can come in handy.

One can certainly attach a debugger to a running process in production, I've done it several times to debug gnarly issues.

Re:The one about Lisp interactivity by tonyarkles on Friday November 11, 2022 @05:52PM (#33567922)
I’ve done it in Elixir a handful of times to try to understand a bug that I couldn’t reproduce in my dev environment. And a few times to run some queries for a client and dump them out to CSV.
Re:The one about Lisp interactivity by fud101 on Sunday November 13, 2022 @11:05AM (#33584265)
You used an elixir debugger on production?
Re:The one about Lisp interactivity by tonyarkles on Monday November 14, 2022 @12:30PM (#33597604)
Elixir REPL in production yeah. Not to modify anything, but to inspect the state of the world and figure out why some OTP apps were dying. I'm drawing a blank on the name of the build tool, but the "launch binary" it produces has an option to fire up a second copy of your app, keep the console alive, and connect it to the cluster as another node. Worked like a charm, although it's something I wouldn't want to do on a regular basis :)
Re:The one about Lisp interactivity by ballpark on Friday November 11, 2022 @03:50PM (#33566627)
I used the Cider debugger with Clojure with some success, but as I got better at REPL-driven development I ultimately stopped firing up the debugger
Re:The one about Lisp interactivity by synthc on Friday November 11, 2022 @03:59PM (#33566753)
True, for Java and Kotlin I use the debugger in IntelliJ like a REPL all the time. You can even evaluate arbitrary expressions, connect to running applications even applications running on another machine.

It's not as powerful as a proper lisp repl as you cannot redefine functions or classes, but it is still very useful.