Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why you need to upgrade NOW
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00556772
Message ID:
00560135
Views:
40
>Mike,
>
>>> Or can IMPLEMENTS be used with native Fox objects (in other words giving Fox classes pseudo-multiple-inheritance)?
>>
>>IMPLEMENTS cannot be used in that manner, and I'd argue that you wouldn't want to anyway. Multiple inheritance: yuck.
>
>I agree about multi. inheritance, but the implements clause (as used in Java) allows the mult. inheritance of behavior without having to totally meld to classes. I hear it is an elegant compromise, though my Java knowledge (almost none) doesn't really give me the right to talk... *smile*
>
>JoeK

A recent article in FoxTalk was about decorating a class/object instead of subclassing it. At the end, it mentioned the strategy could be used to simulate multiple inheritance.
Previous
Reply
Map
View

Click here to load this message in the networking platform