RE: [PHP-DEV] PHP 5.1
| From: | Jared Williams | Date: | Mon, 06 Jun 2005 19:47:46 +0000 |
| Subject: | RE: [PHP-DEV] PHP 5.1 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16465@lists.php.net to get a copy of this message | ||
>
> JC>>Since when did anyone care that we were giving users
> enough rope to
> JC>>hang themselves with?
>
> There's rope and rope. Giving rope is one thing, giving a
> pack of explosives is another.
>
> JC>>I don't think we should worry ourselves with people who
> don't know
> JC>>how to code and abuse language constructs like goto -- especially
> JC>>when they
>
> The problem that concerns me is that I suspect most of its
> uses would be abuse, actually. The only "legitimate" use for
> it I can see it exit from control block without counting
> brackets - which would be better solved by labeled
> break/continue, I think. Can you give me another legitimate use?
PHP Code generation tools?
There is a lot of useful code generation tools out there that would be useful when developing in
PHP, but quite a few use goto, so
porting to PHP output becomes non-trivial.
> JC>>have a limited but practical purpose. +1 to a limited goto.
Jared