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

Gotos were shot down more than 40 years ago and they have never really made a comeback since. They are still used for error handling in the kernel, I've seen.


And error handling in many C applications, since in the absence of exceptions they're very useful for doing cleanup.


Exceptions is just a fancy word for gotos.


Just like functions are just a fancy word for gotos?


Functions are a fancy word for gosubs!


Java employs a limited Goto in the form of labelled continue statements. C# includes an explicit Goto statement for breaking out of loops.

Goto is definitely still out there.




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

Search: