Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Joel on Software
Message
 
À
17/05/2005 08:00:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01014573
Message ID:
01014852
Vues:
27
>I don't use "Hungarian" but I have a simple personal rule for your example... your lnAccountNumber would be AccountNumber and you lcAccountNumber would be AccountNo.
>
>Works nicely for me.
>
>In general I prefer to type descriptive names than use prefixes.

I would argue that Mike's variable names are more descriptive (and yours more ambiguous). If you work in a multi developer environment, the prefixes make a huge difference when reading someone else's code. Or even if you work by yourself and you revisit code from long ago. I've experienced both scenarios and when I started using hungarian it was a huge difference.
Del
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform