© Michał "phoe" Herda 2020
M. HerdaThe Common Lisp Condition Systemhttps://doi.org/10.1007/978-1-4842-6134-7_2

2. Introducing the condition system

Michał “phoe” Herda1 
(1)
Krakow, Poland
 

In the previous chapter, we described three programming concepts which we will now start to utilize to describe and build the components of our condition system. We will apply these concepts to a simple code example that we will extend over time, some of which we’ll tell in the form of the story of characters named Tom, Kate, and Mark.

Let’s meet Tom.

2.1 A simple system of hooks

Once upon a time, there was a sociable young lad named Tom. Tom liked to meet his friends, classmates, sometimes his family, and healthcare providers in person, but one fine spring season, ...

Get The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.