On Monday 06 June 2005 15.25, Stanislav Malyshev wrote: > MM>>Exceptions ? No thank you, even worse then continue/break.. > > Why is it worse? That's something that I don't understand - why > people think exceptions, which have clear structured mechanism of > using them, are worse than goto which has no safeguards at all and > allows to do a lot of messy things. What's the problem with > exceptions?
Exceptions is nice for try { new foo(); } catch (Exception $ex) { ... }, but I don't see how it could ever fit in my code as a replacement for the break/continue goto-emulation which I have to use in lack of the real thing. Just add a big fat red warning in the manual or something that goto is most likely not something the everyday user needs, but at least let us who know how to use it use it. I'm seriously considering rewriting my code in C just to make it possible to maintain it and most importantly, understand it without spending an hour or more just looking at a bunch of breaks and continues. Magnus Mtt -- Drew's Law of Highway Biology: The first bug to hit a clean windshield lands directly in front of your eyes. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php