Re: aggregation?
| From: | Wei He | Date: | Thu, 26 Jun 2003 09:16:16 +0000 |
| Subject: | Re: aggregation? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-2821@lists.php.net to get a copy of this message | ||
On Thu, 26 Jun 2003, Sebastian Bergmann wrote:
> Wei He wrote:
> > How could I live without aggregation or multiple inheritance?
>
> Java developers are very happy without these concepts. Why? Because
> they have interfaces. Guess what? We have them, too.
If I understand correctly, using of interfaces will force a subclass to
implement an interfaced method even if this method behaves the same
as one of its parent classes.
If so I'll have to copy method codes from parent classes like what I
have do so in PHP4 without aggregation. Right?
Wei He