3 ms·
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.
by gizi 11y 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.
- ajdlinux 11y agoAnd error handling in many C applications, since in the absence of exceptions they're very useful for doing cleanup.
- claystu 11y agoJava 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.