Re: Polymorphism [was] [Fwd: Re: [PHP] Parents constructor]

From: Date: Wed, 03 May 2006 16:36:26 +0000
Subject: Re: Polymorphism [was] [Fwd: Re: [PHP] Parents constructor]
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-235385@lists.php.net to get a copy of this message
On Wed, 2006-05-03 at 10:59, Jochem Maas wrote: > Dave Goodchild wrote: > > That is not polymorphism - that is multiple inheritance. Java can't do > > well that clears up my misuse of the terminology! > > > that either, and uses a much cleaner method - interfaces. And interfaces > > are supported in php5. So php does allow it. Not polymorphism - multiple > > no Interfaces are not a mechanism for mutliple inheritance (in php) > - they don't allow definition of the of the body of functions on the > signature. not that I want multiple inheritance - I live on the MI is evil > side of town (even when I was calling MI by a different [and incorrect] name). Bah, interfaces are just as evil. I like the prototype philosophy used by JavaScript and other prototype based languages. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#235385) next »