[PHP-DEV] R: [PHP-DEV] request From: Alberto (ilax33 <email protected>)
Date: 04/17/01

Why not resolve problems use ANSI C++ style?

Chuck Hagenbuch <chuck <email protected>> wrote in message
987520629.3adc5e75dcb38 <email protected>
> Quoting Stanislav Malyshev <stas <email protected>>:
>
> > 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 <email protected>>
>
> 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 <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>