R: [PHP-DEV] request

From: Date: Tue, 17 Apr 2001 15:48:23 +0000
Subject: R: [PHP-DEV] request
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-51798@lists.php.net to get a copy of this message
Why not resolve problems use ANSI C++ style? Chuck Hagenbuch <chuck@horde.org> wrote in message 987520629.3adc5e75dcb38@marina.horde.org... > Quoting Stanislav Malyshev <stas@zend.com>: > > > Generally, since PHP is not a strongly typed language, it's not too hard > > to implement multiple inheritance, I guess. > > Admittedly, it's been a bit since my languages class, but I don't see how loose > typing resolves the biggest problems with multiple inheritance: > > 1. What do you do if two parent classes have methods with the same name? > 2. What do you do if two parent classes have class variables with the same name? > > I'm willing to be persuaded by good answers to those questions, but I don't > know if they exist. So for now, I'm against it, as a feature extremely likely > to cause confusion and weirdness, and one that's probably not really needed or > understood by most people who think they need it. > > -chuck > > -- > Charles Hagenbuch, <chuck@horde.org> > > Taurus: > You will receive an urgent transmission from the Martian government informing > you that Mars does not, in fact, need women, so please stop sending them. > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#51798) next »