Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gizi
· 11y ago · 0 comments
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.
Comments
[–]
ajdlinux
11y ago
And error handling in many C applications, since in the absence of exceptions they're very useful for doing cleanup.
[–]
xorcist
11y ago
Exceptions is just a fancy word for gotos.
[–]
olavk
11y ago
Just like functions are just a fancy word for gotos?
[–]
xorcist
11y ago
Functions are a fancy word for gosubs!
[–]
claystu
11y 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.