3 ms·
It doesn't work fine if the check is omitted, which is easy to do, and if an error is extremely rare the missing check won't be noticed until much later. For r
by not2b 4y ago
It doesn't work fine if the check is omitted, which is easy to do, and if an error is extremely rare the missing check won't be noticed until much later.
For rare errors exceptions are an alternative, but something has to catch and handle the exception.