Re:Blind faith (computer programming)
by ams6110 on Sunday July 21, 2013 @01:23PM
(#6079484)
A programmer calls a subroutine to save user-data on the hard disk without checking whether the operation was successful or not.
This might not be blind-faith. "Fail-fast" is a legitimate pattern where you don't check for errors, you just let the program fail/terminate immediately.
Re:Blind faith (computer programming)
by Athas on Sunday July 21, 2013 @01:33PM
(#6079524)
But in this case, if you don't check the return value of for example the write() system call, it's more a case of "fail silently" than "fail-fast", which is perhaps the most dangerous form of bug that a program can have.
This might not be blind-faith. "Fail-fast" is a legitimate pattern where you don't check for errors, you just let the program fail/terminate immediately.