News for hackers. Stuff that matters.
Re:Clojure all the way down by olewhalehunter on Thursday October 22, 2015 @01:37PM (#10433573)
http://c2.com/cgi/wiki?CommonLispConditionSystem

"When an exception is thrown in Java, the stack unwinds meaning all state in stack frames from the point of the throw to the handler gets thrown out."

"In Common Lisp, the stack does not unwind and high level logic can simply restart the computation (after fixing the error or trying different strategies) without losing any intermediate state. This killer feature is what makes interactive debugging possible."

Not enforcing a functional paradigm also makes prototyping easier.

Re:Clojure all the way down by natrius on Friday October 23, 2015 @02:07PM (#10440274)
Thanks! That's completely new to me. You got me looking into Dire, which looks like a similar pattern for error handling.

https://github.com/MichaelDrogalis/dire