> -----Original Message----- > From: Andrei Zmievski [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 03, 2003 4:04 PM > > Continuing from IRC discussion: why do we need extensions that provide > both function and object APIs for the same functionality? Are > we trying > to emulate Perl or something? To me, that is introducing more > confusion > for the sake of flexibility. I am strongly of the opinion > that we should > stick to having it one way or the other.
because people prefer either the one or the other way to manipulate things. people not familiar with oo will most likely not not stick with the oo api nor will they be happy if they're forced to use it. on the other hand people writing their scripts entirely oo will propably hate it to mix function calls with method invokations all the time. furthermore functions are supposed to issue warnings and methods are supposed to throw exceptions, two entirely different concepts of error handling where neitherone is preferable. so the question is to give rope or not. harald. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php