At 06:36 PM 4/21/01 -0400, Stig Sæther Bakken wrote:
>Okay, what about this one:
>
>If two inherited classes define the same method, the inheriting class
>has to redefine it.  This way the inheriting class can be explicit in
>how to combine or override the inherited methods.

This would work if the number of such methods is low, and if these methods 
are defined in the immediate ancestors of the class. If it's further up the 
hierarchy, then the user writing the class has to know which classes its 
parent classes inherit from and so on.

>We'd need a way of
>referring to any inherited class's methods though.

Yes, of course.

-Andrei


--
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