News for hackers. Stuff that matters.
Re: Strangest language feature by smsm42 on Monday March 25, 2013 @02:17AM (#5435759)
while() loops are really syntax sugar for goto too. And whole C is arguably just a syntax sugar for assembler :) That's why we use it.
Re: Strangest language feature by podperson on Monday March 25, 2013 @05:43PM (#5439907)
They're not syntax sugar for goto the way switch is though. You can't pull stunts like that with two intermingled while loops because a while loop operates on a single block.