Re: PHP 5.1
| From: | Stanislav Malyshev | Date: | Mon, 06 Jun 2005 18:39:06 +0000 |
| Subject: | Re: PHP 5.1 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16462@lists.php.net to get a copy of this message | ||
JC>>Since when did anyone care that we were giving users enough rope to hang
JC>>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 how
JC>>to code and abuse language constructs like goto -- especially 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?
JC>>have a limited but practical purpose. +1 to a limited goto.
What do you mean by "limited"? Limited by what?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115