Re: Polymorphism [was] [Fwd: Re: [PHP] Parents constructor]
| From: | Richard Lynch | Date: | Thu, 04 May 2006 09:57:52 +0000 |
| Subject: | Re: Polymorphism [was] [Fwd: Re: [PHP] Parents constructor] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235459@lists.php.net to get a copy of this message | ||
On Wed, May 3, 2006 9:17 am, Jochem Maas wrote:
> BUT there is a fourth form of polymorphism - one I would argue if the
> most common form when speaking about polymorphism with respect to
> programming,
> namely the ability to derive a subclass from more than one base class
> (simutaneously),
> this is something that php cannot do (thank <deity>).
In my CS classes we always called that "multiple inheritence"
I ain't saying "multiple inheritence" isn't a subclass* of
"polymorhism" or anything, just that that's what we called it.
This was 20 years ago, and I've sat through WAY too many arguments
about what is or isn't polymorphism to count.
I think anybody would agree that PHP's support for polymorphism is
"minimal, at best" :-)
* pun intended
--
Like Music?
http://l-i-e.com/artists.htm