RE: [PHP-DEV] PHP 5.1

From: Date: Tue, 07 Jun 2005 08:46:59 +0000
Subject: RE: [PHP-DEV] PHP 5.1
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-16474@lists.php.net to get a copy of this message
On Tue, 7 Jun 2005, Stanislav Malyshev wrote: > JW>>PHP Code generation tools? > > So, what with them? You want to encourage PHP CG tools to generate > spaghetti soup of code? 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. > > JW>>There is a lot of useful code generation tools out there that would be > JW>>useful when developing in PHP, but quite a few use goto, so porting to > JW>>PHP output becomes non-trivial. > > I don't think it's a valid concern. If the tool can't live without goto, > it should be fixed, not the language should be twisted to fit particular > tool that can't live without this. This is a "sticking-my-head-in-the-sand" argument. regards, Derick

« previous php.internals (#16474) next »