3 ms·
You had me until "Supports 'goto'." in the C# section. I wish people would stop demonizing that keyword. I've met a lot of coders that say to me "'goto' sucks"
by Hrundi 15y ago
You had me until "Supports 'goto'." in the C# section.
I wish people would stop demonizing that keyword.
I've met a lot of coders that say to me "'goto' sucks" and when asked why, they say "our teacher said that" and they can't elaborate on the reason.
- ScottBurson 15y agoThe reason 'goto' sucks is that you can't pass arguments with it. It's not really the presence of 'goto' that sucks; it's the absence of local functions with tail calls. 'goto' handles only the degenerate case of parameterless local functions.