News for hackers. Stuff that matters.
Re:Lisp-Stick on a Python by NavinF on Tuesday November 15, 2022 @02:27AM (#33606297)
> you needed to restart your program after changing the code

Wow. No. This is a really basic debugging feature that's been around for over a decade. You can also drag-and-drop the instruction pointer to another line, watch and change variables in real time, etc. I swear, every LISP-related thread has someone touting ancient features as if they are somehow new or unique.

Re:Lisp-Stick on a Python by medo-bear on Tuesday November 15, 2022 @02:41AM (#33606369)
whats your etc.? in common lisp i can pretty much redefine the WHOLE compiled program at runtime. as far as interactivity and debugging is concerned, its not nearly as good as it is in common lisp
Re:Lisp-Stick on a Python by NavinF on Tuesday November 15, 2022 @06:09AM (#33607780)
Very cool, that's definitely not a common feature in every other debugger /s
Re:Lisp-Stick on a Python by lispm on Tuesday November 15, 2022 @06:55AM (#33608059)
Your C++ debugger let's you redefine an arbitrary C++ class in a running program and the existing program and data is changed. /s
Re:Lisp-Stick on a Python by imaltont on Tuesday November 15, 2022 @10:45AM (#33610581)
I don't think you know just how modular a Common Lisp environment is. Sure there is some hot reloading that sometimes works and you can change the value of variables, maybe even jump back and forth in your stack trace. Rarely does it do any of them as well as Common Lisp though, where the only thing that doesn't dynamically update when you change something is struct-instances and macros. Functions, variables/values, classes (including instances) can all change as you want it without restarting anything. When something goes wrong, like errors or exceptions, you can modify some code, restart some where on the stack, ignore it and continue execution, insert dummy value or insert a placeholder function.

Some form of interactivity with the debugger is common in my experience. The level of interactivity you get with Common Lisp is not.

Re:Lisp-Stick on a Python by qorrect on Tuesday November 15, 2022 @03:33PM (#33614628)
I really think you're missing the point, maybe this is why Lisp eludes so many.
Re:Lisp-Stick on a Python by medo-bear on Wednesday November 16, 2022 @05:27AM (#33621039)
it's not :)