u/schauehoin r/Clojure • Recommends
#clojure#commonlisp#conditionsystem
Condition Systems in an Exceptional Language - Chris Houser
111K subscribers • 158 videos on Hallway
- Recommended by 3 people: 1 on Hacker News, 1 in engineering communities and 1 curated list.
- Presented by Chris Houser, co-author of The Joy of Clojure
Intermediate. Assumes working knowledge.
15K views10 years ago3 recommendations
Programming languagesSoftware designFunctional programmingLanguage design and type systemsLisp and Clojure
Chris Houser discusses why Clojure's exception handling destroys stack information and explores how to implement Common Lisp-style condition systems.
"Some errors, however, are sufficiently obscure to escape detection for a surprisingly long time." -Brooker and Wheeler, 1952 Clojure does not come with a Condition system as powerful as Common Lisp's. Instead, we have Exceptions, which start unwinding the stack the moment they're thrown, destroying information as they go. The values of locals disappear, and there is no ability to continue from the location of the error. Several libraries solve this problem, but they do not compose well with each other. We will discuss these libraries, how they work, and why they don't compose. We will consider alternatives that may compose better, and the tradeoffs and amongst all of these. About the speaker: Chris, a.k.a. Chouser, co-authored "The Joy of Clojure" and enjoys using Clojure regularly with the LonoCloud team at ViaSat.Why it's here
3 people recommend thisWhat people say. Recommended as an excellent overview of the differences between standard exceptions and Common Lisp's resumable condition systems.
programming-talkscurated list on GitHubRecommends
Under “Clojure”
puredangeron Hacker News • Recommends
On “State of Clojure 2016 – Results and Analysis”
u/czanin r/Clojure • Mentions
On “Common Lisp Style Conditions+Restarts in Clojure”
u/punkisdeadin r/Clojure • Mentions
On “[ANN] dont-give-up: Common Lisp style interactive restarts”
u/MattDarlingin r/Clojure • Mentions
On “FYI: ClojureTV updated their channel today with Clojure/conj 2015 videos.”
agumonkeyon Hacker News • Mentions
On “Java Exception Handling”
nialoon Hacker News • Mentions
On “Why Clojure? (2010)”
phyrexon Hacker News • Mentions
On “Clojure 1.10 release”
the-alchemiston Hacker News • Mentions
On “What makes a good REPL? (2017)”
u/ventuspilotin r/ProgrammingLanguages • Mentions
On “Alternative to try/catch”
u/WalterGRin r/Clojure • Mentions
On “[ANN] dont-give-up: Common Lisp style interactive restarts”
u/beppuin r/Clojure • Mentions
On “New Clojurians: Ask Anything”