Re: request

From: Date: Tue, 17 Apr 2001 15:17:09 +0000
Subject: Re: request
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-51794@lists.php.net to get a copy of this message
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.

« previous php.dev (#51794) next »