Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code Standards
Message
From
01/10/2003 07:57:33
 
 
To
01/10/2003 07:37:45
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
COMCodebook
Title:
Miscellaneous
Thread ID:
00832733
Message ID:
00833776
Views:
41
>Hi peter,
>
>>I propose to use g as scope indicator for variables that are declared public OR PRIVATE in the MAIN program. The g then indicates that it are GLOBAL variables. Global (g) is then simply an indicator that they're visible to the entire application. See also: A Private Global Variable Thread #669192 Message #669192
>
>I'm not fond of using scope identifiers in the name of a variable. IMO, you should not need one. Since you'd only have a very few privates or publics declared you should be able to identify them anyways.
>
>Of course the is only my opinion ;-)

Another wording for 'my opinion' might be 'my standards'. I think that the originator of this thread was not so much interested in our personal standards. If we had a standards-committee that said that we must use scope identifiers, would you use them?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform