Re: aggergate vs MI

From: Date: Sat, 06 Apr 2002 00:32:17 +0000
Subject: Re: aggergate vs MI
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-82159@lists.php.net to get a copy of this message
Brad Lafountain wrote:
I keep on hearing that "we" are totally against MI but "we" want the aggergate function. Can someone PLEASE explain the reasoning behind such a decision? I can't think of one example when aggergate would be better than using MI.
Aggreation works now. Multiple inheritance needs changes in ZendEngine. BTW, some user asked multiple inheritance feature to php-dev, I replyed "Multiple inheritance is useful, but it makes a lot easier to design objects badly. I think we are better to design objects so that multiple inheritance is not needed" Then I got reply, "multiple inheritance is needed", etc, etc, but nobody support my idea. Therefore, most of developers like multiple inheritance, I suppose. -- Yasuo Ohgaki

« previous php.dev (#82159) next »