Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does a PRG class execute faster than a VCX based class?
Message
De
13/09/2005 16:42:37
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
13/09/2005 07:16:09
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01040117
Message ID:
01049220
Vues:
23
>Hi mike,
>
>>Do you agree a bunch of unrelated functions or classes collected into a single PRG or VCX is nothing more than coincedental cohesion?
>
>It depends on the definition of unrelated. For example you've got a number of functional cohesive libraries, and you're left over with a number of unrelated functions or classes that are specific to the application and put them in one file, you might speak about logical cohesion in stead.

Agree - the definition of "related" is in the eye of the user. I remember working with VFE, which is another CodeBase framework, where yes, the controls are in iControls.vcx, forms are in iForms.vcx etc, but then I had hard time when I needed to subclass the login form, because it was before the CodeReferences tool and I had no idea where to look for it.

It was, if I remember correctly, somewhere in security vcx, or in some utility vcx. The last place I was looking for it.

Now to someone else, who has the mindset closer to that of the framework's authors', that may be a really logical place to put it, as that's related. To me, it's unrelated, or else I would have found it faster.

IOW, this is more an issue of readability (i.e. would the name of the classlib tell me which classes are inside) than of any logic in the packaging.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform