Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Joel on Software
Message
From
19/05/2005 14:56:31
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/05/2005 12:07:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01014573
Message ID:
01015964
Views:
33
>>>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.

On this one I love the t (for parameTer) prefix. Most of the time (and I'm getting less and less lazy on that one), my parameters are called tcSomeString, tuValue ("u" for "undefined or pretty much any type"), ttTime etc.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform