3 ms·
> If your exception-handling code is complex enough to be at all tricky you have a state machine and it behooves you to make that ad hoc machine explicit. 1980
by jcelerier 5y ago
> If your exception-handling code is complex enough to be at all tricky you have a state machine and it behooves you to make that ad hoc machine explicit.
1980: "that error handling code is a tedious and repetitive state machine, how could we abstract it ? ... let's create exceptions !"
2020: "exceptions implement a state machine, that state machine should be visible error-handling code ! let's remove exceptions and make error handling explicit"
2060: "that error handling code is a tedious and repetitive state machine, how could we abstract it ? "