Re: Strangest language feature
by podperson on Sunday March 24, 2013 @10:54PM
(#5435082)
It's pretty strange nonetheless that it compiles at all. Underlying it is that a switch statement isn't a proper control structure but syntax sugar for goto.
[ Parent
| on HN ]
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.