Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a form in a class
Message
 
À
20/06/2000 16:55:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00380150
Message ID:
00382671
Vues:
20
I disagree 1000% here :)

Seriously, there are good uses for AddProperty. One of my current projects includes a custom class with some business methods and a basic set of properties. Each instantiation uses AddProperty to add it's own properties at runtime rather than each one having a custom class for each possible instantiation.

As for purists, I know some of these in different areas and most of them are too narrow minded for my liking.

>Mike - any OOP purist will tell you AddProperty stinks - I don't claim to be an oop purist - but as a general rule - well - AddProperty stinks - it is a bandaid for poor design somewhere else down the chain.
>
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform