Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming Conventions
Message
De
05/11/2003 15:16:31
 
 
À
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:
00846754
Vues:
20
>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

I think what you are doing is fine. We have coding standards here about the first three chars for a var.
The first one is the scope
The second one is the type
The third always being a underscore.
Then the description of the variable.

So we would code the var being lc_MyVariable or lc_myvariable. I personally like the first one and thats how I code. Other developers here make the varaible all lowercase.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform