Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] RE:[PHP-DEV] oo != php

2002-06-11 Thread Sebastian Bergmann

Alex Black wrote:
 class foo aggregates bar {
 }

 I think that is a nice solution.

  It's not, because it's static. Multiple iheritance is flawed, because
  it's static.

  Have a look at my RfC for delegation:

RfC: http://cvs.php.net/co.php/ZendEngine2/RFCs/004.txt
Further reading: http://javalab.cs.uni-bonn.de/research/darwin/

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/ http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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




Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] RE:[PHP-DEV] oo != php

2002-06-11 Thread Zeev Suraski

At 10:19 AM 6/11/2002, Sebastian Bergmann wrote:
Alex Black wrote:
  class foo aggregates bar {
  }
 
  I think that is a nice solution.

   It's not, because it's static. Multiple iheritance is flawed, because
   it's static.

That's hardly considered a flaw almost anywhere, even in the studies that 
tear MI down to pieces.  Being able to aggregate at class declaration time 
or at the object instantiation time should be well more than enough - being 
able to switch aggregated objects after instantiation is not very helpful IMHO.

Zeev


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