Hacker News new | ask | show | jobs
by gizi 3952 days ago
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.
2 comments

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.