Re: Re: Labeled Breaks (not the G-word)
| From: | Ilia Alshanetsky | Date: | Sun, 27 Nov 2005 16:06:39 +0000 |
| Subject: | Re: Re: Labeled Breaks (not the G-word) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20657@lists.php.net to get a copy of this message | ||
Zeev Suraski wrote:
> 1. A forward-jumping construct only, to avoid giving users too much
> ammo to shoot themselves in the foot with spaghetti coding.
One of the major uses of "jump" is the ability to "retry on error" by
jumping backwards inside the code. Given that the limit of the
functionality is completely superficial, there are no engine reasons for
it, I'd much prefer we did not impose it.
Ilia