Re: Re: Labeled Breaks (not the G-word)
| From: | Gareth Ardron | Date: | Thu, 24 Nov 2005 18:09:49 +0000 |
| Subject: | Re: Re: Labeled Breaks (not the G-word) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20306@lists.php.net to get a copy of this message | ||
Wez Furlong wrote:
Agreed; I see no reason to call it break (that makes it even more confusing), and limiting jumps to one direction only is dumb; there is no technical reason to do that. Perl has a "goto" keyword, but it's pronounced "magic goto". We can have a "goto" keyword and pronounce it "limited goto". Bad feelings and anticipated misuse are not good enough reasons to make this feature obscure. So, I'm +1 on the patch with sane names and removed restrictions; Thanks Sara and Dmitry :) If goto's not right, and break is confusing - what about breakto or something else that won't cause the confusion of break but also won't cause a load of wah's from people expecting goto to behave in a different way ?