Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming Conventions
Message
De
05/11/2003 15:00:19
 
 
À
05/11/2003 14:24:46
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00846723
Message ID:
00846747
Vues:
19
>Out director has said that we must find another way to name our variables as he finds it difficult to read. Currently we use lcMyVariable to denote a local, character variable. He would like to use MyVariable_lc instead. We were also considering lc_MyVariable and one person thought that MyVariableLC was reasonable. Any thoughts? And if this has been covered already then just point the way please. I still would like to know what others think just about this specific example though. Thanks!
>
>Regards, Renoir

lc_var, var_lc - either one of those sounds workable to me. The more "standard" one is to have these indicators in front, since the rest of the var name is descriptive of the contents.

The trailing version without an underscore could get confusing, if LC (etc) needs to mean something for the varname, e.g., last customer log date = LCLDLD <s>

and what's the director doing reading code? does he develop? if not, then why he needs it to be readable to him doesn't make much sense...
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform