Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OBJECTS
Message
De
12/08/1997 17:15:54
Curtis Zeeb
Zeeb's Computerized Services
Tracy, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
OBJECTS
Divers
Thread ID:
00044337
Message ID:
00044337
Vues:
65
I want to utilize objects in the best way possible but I also want to follow good design principles. I could use some
advice on the length of time I stay in the object itself.
Example.. I have an object that is subclassed for 50 different states. Within the code, there is an outer and inner loop
whereby the outer loop is in the master table and the inner loop is with the children. Each subclass does some specific
i/o but the majority of the work is done from the methods in the base class.

Should the calling prg control these loops and call methods withing the object or should the calling prg go into the
object and let all the looping and other work be handled by the object itself? There is alot of low-level i/o as well in
the methods.
I can here my PROF going crazy over letting the object do all the work.. eg staying within the object the entire time.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform