Re: PHP 5.1

From: Date: Tue, 07 Jun 2005 10:27:45 +0000
Subject: Re: PHP 5.1
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-16476@lists.php.net to get a copy of this message
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 flying.mushroom@gmail.com

« previous php.internals (#16476) next »