Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any way around this issue?
Message
De
30/05/2003 12:39:36
 
 
À
30/05/2003 12:25:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00793727
Message ID:
00794582
Vues:
23
>>>What's the point of the "abstract" classes?

>I'm still a bit confused. I still don't see the point of the "abstract" classes.
>
>I understand not creating objects from VFP's BaseClasses since I would have no way to add functionality to them.
>And I understand not creating objects from _base.vcx classes, since I would want to allow future updates from VFP to replace them.
>I would want to create by own myBase classes from either the BaseClass or _base.vcx (if I want all VFP's overhead) and use them to create objects with.
>
>Assuming that I create myBase classes from the VFP's BaseClasses, I'm guessing that they would be the abstract classes that you're talking about. Now why wouldn't I want to create objects with them? Why would I then want to sub-class them again into a "concrete" class?


Think of them as "blueprints" (really placeholders), showing what could be done, and why they are there. In the "concrete" instance is where you put the real funcionality that is needed for your particular project.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform