4 ms·
Your post is just as true with "The cause is simple, most programmers rarely check to see if writes to disk succeed", but is somewhat more credible.
by jvanderbot 8y ago
Your post is just as true with "The cause is simple, most programmers rarely check to see if writes to disk succeed",
but is somewhat more credible.
- TeMPOraL 8y agoIn some other languages, a failed write will kill your application with an IO exception. Or at the very least (in Java) the exception will hit a handler that you are forced to write. The point being, those languages are designed to force a different code path on you in situations like failed IO, and people writing standard libraries make sure to check return values of C calls and throw exceptions if they're bad.