Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class in Library or in code
Message
 
 
To
15/11/2000 07:21:41
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00442025
Message ID:
00442093
Views:
15
>Is it better practice to keep all of your classes in Class libraries, or is it better to keep them as DEFINE CLASS.....ENDDEFINE code in your procedures.
>
>I'm thinking that the former is the best way, can anyone advise.
>
>Thanks
>Kev

Kev,
Even though you have made up your mind, here are some things to consider:

1. How do you like to program? Do you like working with the class designer or would you rather work with prgram files? I like the productivity that the class designer affords. I can get to a specific method without having to wade through a ton of code. This will get easier with the improvements in the VFP 7 IDE.
2. Are you using source control? While VSS integrates fairly well with VFP, others may not. The use of programs files sometimes makes it easier to handle conflicts and the like.
3. Program files compile smaller than class library based classes. This may or may not be a factor in your decision.

Cheers.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform