News for hackers. Stuff that matters.
Re:Bug #48669: PHP now includes GOTO by humbledrone on Friday August 21, 2009 @05:34PM (#778528)
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...
Re:Bug #48669: PHP now includes GOTO by huhtenberg on Friday August 21, 2009 @08:33PM (#778789)
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.

Re:Bug #48669: PHP now includes GOTO by eru on Saturday August 22, 2009 @05:00AM (#779175)
Scheme does not have _any_ loop constructs. Neither does Haskell. (Apart from the standard library. There you find some `simulators' of loops.)
Re:Bug #48669: PHP now includes GOTO by silentOpen on Friday August 21, 2009 @11:54PM (#778970)