On Fri, 24 Dec 2004, Sebastian Bergmann wrote: > Andi Gutmans wrote: > > Sebastian, throwing an exception is relatively slow and cumbersome and > > sucks if you want to do something like a Delegation model and run > > through objects and check if a method can be called. Having exceptions > > thrown each time the object doesn't have the method is crazy. > > I do not think so (that it is crazy), for what it's worth.
I think it doesn't make sense if there is no method to actually check if it's there. Now you start throwing exeptions without having a way to avoid it. THAT is crazy. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php