Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to Visual Foxpro
Message
From
27/05/2008 16:22:46
 
 
To
27/05/2008 15:53:10
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01319496
Message ID:
01319794
Views:
15
>I'm not knowledgeable enough to answer that. I believe the number of subclasses is unlimited, but don't quote me. I know that C# supports single class inheritance only - you can specify only one base class to inherit from. However, it does allow multiple interface inheritance. You just can't inherit from multiple base classes (you have to use an interface and dup all base classes). There was a discussion here on the UT about it. The biggest issue was that most see using multiple inheritence as bad design. I think if the business need warrants it, do it. I certainly don't want to open that can of worms again! :o)

If you consider what people were advised at very begining (you subclass base classes before doing anything else then you subclass it further for each project specifics etc) then add common usage of dev frameworks with VFP, and multiple inheritance becomes natural question for almost anybody comming from VFP.

Multiple inheritance (over 3 levels) for sake of it is bad design. But there are cases when 2-3 levels build themselves up quiet naturally.
Hey, how about listeners for instance ??
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Reply
Map
View

Click here to load this message in the networking platform