Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a form in a class
Message
 
To
20/06/2000 16:55:30
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00380150
Message ID:
00382671
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform