News for hackers. Stuff that matters.
Re:Clojure all the way down by olewhalehunter on Thursday October 22, 2015 @10:12AM (#10432322)
Considering Clojure would work better in SBCL I think that says a little something about Clojure and a little something about CL. Macros in ParenScript make Clojurescript seem like a bad rails library.
Re:Clojure all the way down by natrius on Thursday October 22, 2015 @11:46AM (#10432873)
Care to elaborate?
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