Hacker News new | past | comments | ask | show | jobs | submit login

I was under the impression that the addition of "goto" was a joke. Are people actually using it? While there are legitimate uses for "goto," they are pretty much isolated to low-level C code, and are made unnecessary in a language that supports exceptions...



Exceptions vs. goto-based cleanup is purely a matter of personal programming taste and habits. Gotos exist because there are people who find them convenient, and not because gotos are "legitimate" in the context of that particular programming language.

Making the language minimalistic is never a goal of a language design unless it's a Brainfuck. If it were a goal, there would've not been three loop constructs in any modern languages.


Scheme does not have _any_ loop constructs. Neither does Haskell. (Apart from the standard library. There you find some `simulators' of loops.)





Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: