Hacker News new | ask | show | jobs
by Hrundi 5461 days 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.

1 comments

The 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.