3 ms·
Many early Common Lisp systems had impressive error handling. Certain exceptions would automatically break to an interactive Lisp window. But Common Lisp also
by ekidd 5y ago
Many early Common Lisp systems had impressive error handling. Certain exceptions would automatically break to an interactive Lisp window.
But Common Lisp also has a fancy system for recovering from exceptions. So after you replaced the broken function, you'd often see a list of "restart" points from where you could retry a failed operation.
So even if you failed in the middle of a complex operation, you could test out a fix without needing to abandon the entire operation in progress.
I'm not entirely certain if this was as useful as it sounds, in practice, but it was certainly very impressive.
- retzkek 5y agoThere was a book published just last year about the CL condition system for anyone who wants to better understand it (disclaimer: it's sitting on my desk but I haven't read it yet): https://link.springer.com/book/10.1007/978-1-4842-6134-7 https://link.springer.com/book/10.1007/978-1-4842-6134-7