Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class in Library or in code
Message
 
 
À
15/11/2000 07:21:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00442025
Message ID:
00442093
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform