Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where should my Methods be stored
Message
 
To
23/02/2001 11:10:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00478872
Message ID:
00478956
Views:
23
>I'm not sure which option to take. I have various Container classes that will sit in a Pageframe and use Methods that manipulate the objects in the Containers.
>
>Is it best to have these Methods sitting in the Container class or is it better to have them in the Base form.
>
>I know this is a matter of opinion @ the end of the day, so I really want to have an idea which is the most preferred.

There's one additional factor to consider, also, that of convenience. When all other factors are more or less equal, I often find it much easier to have methods grouped at a higher level. A little contrary to encapsulation theory, but practicality beats theory at times.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform