3 ms·
goto is just a tool and not to blame here. I don't know what you could call the root case of this one. Incomplete testing maybe? In Apple's case "goto" made
by bentcorner 13y ago
goto is just a tool and not to blame here. I don't know what you could call the root case of this one. Incomplete testing maybe?
In Apple's case "goto" made it possible for the bug to occur, but there's no reason a different statement (or other typo) could cause equivalent damage.
I think a common thread with both of these bugs is testing the failure cases, but to be fair to both validating software by finding bugs and/or validating functionality is affirming the consequent and you eventually need to ship.
- zvrba 13y ago> I don't know what you could call the root case of this one. Bad software engineering. Their internal routines return negative value to indicate failure, but to the caller they translate it to true/false.