Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wishlist???
Message
De
03/09/1999 12:52:20
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00260725
Message ID:
00261251
Vues:
35
Jim,

Walter,

>If the ParenCnt was a method in a utility object I would propose that it may be a poor design to burden the object with extra properties that are only used internally by the ParenCnt method.

hmmm.. then wouldn't it be wise to nest objects within the utility object, like:
UtilityObject.ParenthesiscountObject
UtilityObject.PrinterDialogObject
UtilityObject.ApplicationsOptionsObject
etc..

>Static vars are by definition encapsulated into the emthod that creates them so they violate no principles of OO.

I never said they would, But then again: Do we absolutely need them to make a good design ? I very much doubt this.... I rather think this could be more of a confusion that it would be of help (IMHO this also applies to the assign and access methods)

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform