Re: GOTO operator
| From: | Robert Cummings | Date: | Thu, 29 Jul 2004 22:11:16 +0000 |
| Subject: | Re: GOTO operator | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11623@lists.php.net to get a copy of this message | ||
On Thu, 2004-07-29 at 17:25, Timm Friebe wrote:
> On Thu, 2004-07-29 at 04:12, Sara Golemon wrote:
> > I wrote up a patch for implementing gotos in php scripts a couple months ago
> > as an exercise in working with the Zend engine.
> [...]
>
> In the five or six year's I've been programming PHP, I haven't ever felt
> the need to have "goto". Neither have I seen a newsgroup posting related
> to it in the two years or so I followed the German PHP newsgroup,
> de.comp.lang.php.
>
> I don't think goto is really needed. People using other languages manage
> to do without it, too.
C has it
C++ has it
VB has it
Lisp has "GO" which is pretty much the same
Perl
I'm sure many other too.
Just because people "manage" to do without it in some languages, doesn't
mean it isn't a useful feature.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'