Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if class is light or heavy
Message
De
16/07/2004 01:39:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00924940
Message ID:
00925047
Vues:
19
Hullo Dmitry -
one metric that I look at is
how many properies, events, and methods does a class have,
and ? is it inheriting from any other class ?

Once upon a time, in VFP 6 - the line object was the slimmest -
then the slimmest became something else [connector ? ?? ]

in any event -
to me - the TRUE count of a class will deal with the PEM count -
and don't tally till 'end - take a count of each ...

on the far side -
if a class is heavy - then -
i expect it to have many PEM's -
and perhaps even be subclassed from a few other classes [customer container with odbc hook comes to mind] .

did you have any particular metrics in mind for measuring ?
do let me know your thoughts. ..
mondo regards [Bill]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform