Re:Clojure all the way down
by natrius on Thursday October 22, 2015 @11:46AM
(#10432873)
Care to elaborate?
[ Parent
| on HN ]
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.
Thanks! That's completely new to me. You got me looking into Dire, which looks like a similar pattern for error handling.