Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not just GUI message boxes that thought has to be applied to - any form of user input (including command line apps).

I remember the old DOS days when reading a floppy disk failed:

    Abort, Retry, Fail?
I never could remember the difference between Abort and Fail.


What is the difference? I never knew.


Abort would terminate the entire process, whereas Fail would return an error code to it. Older (pre-2.x?) versions of DOS did not support the concept of I/O error codes at all, so the Fail option wasn't present: instead, you had the charming 'Ignore', which would pretend the operation had succeeded, returning the I/O buffer with (partially) corrupted information.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: