Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newobject()
Message
From
24/12/1998 15:16:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00169346
Message ID:
00170372
Views:
23
>>>No question. The lack of these function always drove me nuts. They both just seemed so obvious.
>>Josh and John,
>>
>>Just be careful that AddProperty is not hidng a poor design on you.
>
>Jim,
>
>That's a good point. I'd hate to see people using it to tack additional properties to instantiated objects instead of subclassing or modifying the existing hierarchy. I can imagine trying to debug an application and finding references to properties that aren't in the class definition all over the place.

It brings another nuisance - along with "where in the code does this get initialized", we are getting additional "where in the code does this property get invented".

IMO, the .AddProperty should be used sparingly.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform