Use a Standardized Naming Convention
To improve efficiency and reduce errors, it is recommended that all developers in your programming group use the same standardized naming convention. The convention that you use does not matter. The following table describes a common convention that prefixes each variable with a letter that indicates the type. If necessary, you can also use a suffix.
Data Type | Naming Convention | Example |
---|---|---|
String |
s |
sName |
Integer |
i |
iReturn |
Long integer |
l |
lBigCount |
Single-precision number |
si |
siAllowance |
Double-precision number |
d |
dBudget |
Object |
o |
oBusComp |
Currency |
c |
cAmtOwed |