4 ms·
It's been brought up that there are a few handy uses for goto. I think the reason it's so heavily preached against is because of its name. For someone just star
by digler999 10y ago
It's been brought up that there are a few handy uses for goto. I think the reason it's so heavily preached against is because of its name. For someone just starting out, the word "goto" might sound like a handy tool that could be useful for all sorts of things.
But instead of a measured response to make it the last tool you reach for, it's been made into a pariah.
- Retra 10y agoIt's only more useful than structured code in a few niche situations, and even then, it doesn't usually provide massive benefits. It's a language construct that doesn't carry its weight.