Quoting Stanislav Malyshev <[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.


Charles Hagenbuch, <[EMAIL PROTECTED]>

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to