Goto is a plainly bad idea. Yes it has its uses, but 99% of the time
it would just be completely, mercilessly, utterly abused.

As the people taking the language forward, it's the responsability of
PHP developers not to introduce features that you just know in advance
are going to drag the language's standards downhill. Magic_quotes and
register_globals have provided plenty of flak already -- let's not
introduce things that we KNOW will generate problems.

> Uh? EVERY parser generater that I know of uses goto, and it's definitely
> not a problem if the generate 'spagetticode' - as nobody ever has to
> even look at that code.

If you want to build a full-blown parser, PHP is not your language. If
you need a code generator, you have a problem.

--
Nelson Menezes
[EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to