Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming Conventions
Message
From
05/11/2003 15:00:19
 
 
To
05/11/2003 14:24:46
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00846723
Message ID:
00846747
Views:
18
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform