Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joel on Software
Message
De
19/05/2005 12:07:20
 
 
À
19/05/2005 08:18:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01014573
Message ID:
01015857
Vues:
64
>>However this discussion is more about the hungarian notation, where the prefix is indicating type and scope. Since 99% of all variables are (should be) local there is no need to indicate scope unless it is a public or private.
>
>FWIW, I agree with you on the scope issue. I use a scope prefix only for the rare public variable, but I find the one letter type indicator extremely valuable.

I find the scope prefix to be helpful. For example, you don't have to scroll up to the LPARAMETERS statement to determine whether a variable was passed as a parameter or declared as LOCAL in a routine.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform