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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php