Y
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
ajdlinux
3952 days ago
And error handling in many C applications, since in the absence of exceptions they're very useful for doing cleanup.
link
xorcist
3952 days ago
Exceptions is just a fancy word for gotos.
link
olavk
3952 days ago
Just like functions are just a fancy word for gotos?
link
xorcist
3951 days ago
Functions are a fancy word for gosubs!
link
claystu
3952 days ago
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.
link