News for hackers. Stuff that matters.
Re:Where Everything Went Wrong: Error Handling and Error Mes... by samatman on Friday February 19, 2021 @02:22PM (#26196906)
> It's a hard problem, which is why no one has solved it yet.

On the contrary, the Common Lisp condition/restart system solves it, and it's maddening that this hasn't been adopted anywhere else.

An exceptional state signals a condition, and without unwinding the stack, looks for a handler for that condition, which can, among other things, restart the computation from a lower stack frame. In development mode, it defaults to dropping into the debugger/repl; in release mode, an unhandled condition panics.

There are no comments on this comment yet.