Open main menu

CDOT Wiki β

Changes

OOP344 ASOS

333 bytes added, 23:36, 10 November 2009
4.6 Variable Naming Conventions
Variables should follow regular programming conventions ( must start with lowercase letter, no symbols…). Variables should be descriptive for better understanding of it’s For example:
 
<pre>
int someVar;
</pre>
 
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
 
If the variable is a private or protected variable, use an _ before the variable name to differentiate from a public variable. For example:
 
<pre>
 
int _someVar;
 
</pre>
1
edit