News for hackers. Stuff that matters.
Re:How The Post covered the ‘grand social experiment’ of the... by barrkel on Thursday December 05, 2013 @08:23AM (#6854213)
Gotos aren't that infrequent in C and C++ written without exceptions or longjmps, and stack-based cleanup needs to occur.

Last time I wrote a goto in a language that did have exceptions was the alignment portion of an unrolled loop implementation of a hash algorithm. Delphi doesn't support C-style switch statements where one case flows into the next; so the alignment switch did jumps into the unrolled loop body.

Re:How The Post covered the ‘grand social experiment’ of the... by mratzloff on Thursday December 05, 2013 @11:57AM (#6855436)
Yep. Gotos can be the cleanest way of handling certain errors in C.