Comment by withinboredom
14 days ago
error conditions when you don't have exceptions:
goto *errOrSuccess;
is a pretty normal one. This basically allows you to emulate a "finally".
State machines are another big one, which look much nicer with computed goto than a switch statement.
No comments yet
Contribute on Hacker News ↗