Stefan,


There are like 4 examples in favor of goto. Of course they are more concrete than arguments that people can give against goto because they don't deal with WTF factors and abstract ideas such as coding style and structure.
And yes, bad coding can be done without goto but I think goto encourages it. Look at the sources of ab for example. That's a mixture of bad coding and goto's although five of those gotos are quite legit (error handling) and one sucks because it's pretty much implementing a loop.
Anyway, it's not as if I'll die if we add it (assuming that the implementation is done correctly) but I think that there's lots of excitement here about a feature, which will barely give much benefit and will possibly do more harm than good.


Andi

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



Reply via email to