4 ms·
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, an
by huhtenberg 17y ago
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.
- silentOpen 17y agohttp://barker.linguistics.fas.nyu.edu/Stuff/Iota/ http://barker.linguistics.fas.nyu.edu/Stuff/Iota/
- eru 17y agoScheme does not have _any_ loop constructs. Neither does Haskell. (Apart from the standard library. There you find some `simulators' of loops.)
- deleted 17y ago[deleted]