Descriptive Name to Variables

Giving the elements of your programs good names is one of the most important things you can do to ensure that your code will be readable and easily understood. Primarily, this applies to the names you give to variables and procedures.

When naming a variable, use a name that will make it clear what that variable is used for. Be careful using abbreviations, especially if you think programmers from other countries might need to read your code. Don’t make variable names too short, but don’t make them too long either (studies have shown that ten to sixteen characters is a good length, but ideal length is largely a matter of preferences). Even though VBScript is not case-sensitive, use mixed case (for example, UserName) to make it easier to distinguish multiple words within the variable name.