Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> "...And the lord said, 'lo, there shall only be case or default labels inside a switch statement'"

Did it seriously not let you have a goto label inside a switch?! This seems like an odd restriction, as all 3 are the same kind of thing.



They're different enough that you can't goto a case or default label.


From that perspective, indeed, very true - but then that's exactly why you need to be able to have goto labels inside a switch!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: