2 ms·
Abort/Retry/Fail is a good idea; it's an example of a restartable exception. The software has identified a problem, and has ways of continuing around it rather
by kazinator 4y ago
Abort/Retry/Fail is a good idea; it's an example of a restartable exception. The software has identified a problem, and has ways of continuing around it rather than just bailing. Abort versus Fail is a useful distinction: abnormally exit the whole show, or just fail the operation. In Common Lisp we can do this kind of thing with conditions and restarts.
You see retry mechanisms in modern software. For instance in Windows, installers will prompt you to retry an operation. For instance if you're reinstalling a program whose components are still running, it cannot copy those files over. You get prompted to stop the software and try that again, rather than bail the entire installer.
Or bulk file copy operations give you the opportunity to do something with the one file that isn't working: like skip this file, retry, do this for all others from now on ...
So Abort/Retry/Fail lives on.