3 ms·
At StackOverflow you're downvoted heavily when you just typ got (don't event have time for the last "o"). Then Apple comes with the glorious "goto fail" and sh
by woliveirajr 5y ago
At StackOverflow you're downvoted heavily when you just typ got (don't event have time for the last "o").
Then Apple comes with the glorious "goto fail" and shows that real companies use goto, and the problem wasn't "goto" itself.
- dleslie 5y agoIt seemed odd to me that their fail context didn't set 'err', but assumed it would be set by the origin of the jump. At least, I would have initialized 'err' to a failure value, so that any mistake that led it not to be set would result in a valid error state.