Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Abstract classes useful?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320973
Message ID:
01320977
Views:
11
What exactly is the purpose of abstract classes in VFP?

>This week I noticed I was using abstract classes as concrete classes. Trying to reconstruct things I again started to doubt the usefulness of having abstract classes.
>
>Some history: I'm probably the only developer in the whole world who's actually using this great tool NewClass.app - written by myself and available to all at http://www.viafox.nl/downloads/NewClass_beta2.zip - and thereby giving structure to the names of his new classes. It is a wizardlike tool and one of the first choices to be made is whether the new class will be abstract or concrete. After a while I noticed that I had been using abstract classes in my form, notwithstanding the fact that they can be easilly recognized by the underscore at the end of their name. However, the form works perfect.
>
>The crucial issue is that there is probably no gain in having a concrete class that's totally equal to the abstract class that it is based on. On the contrary, there is likely a loss, for example because it gives useless overhead in loading.
>
>What's your opinion here?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform