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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux