Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there any way around this issue?
Message
De
30/05/2003 17:36:25
 
 
À
30/05/2003 12:45:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00793727
Message ID:
00794774
Vues:
22
>I'm still missing it. What value would these "abstract" classes have that the "concrete" ones don't have? Why can't I use the "concrete" classes as "blueprints"?

David Frankenbach put it very nicely in a reply to you today in this same thread.

I couldn't put it better, so I'll quote him here:

* give this class an Execute() method - this is an abstract method, it is a method that every subclass will have in it's interface, but there is no code here at the level, because you don't yet have a clue about what this business process is really going to accomplish. But you've established the interface, you've established that anyone can call the Execute() to get the object to do its thing.


Clearer now? You define what the method is for, the interface, etc.
But it will be really usable once you know the business rules or needs for that particular instance in your project. That's when you do the concrete method (instance).

HTH


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
Répondre
Fil
Voir

Click here to load this message in the networking platform