Conventions for Names
When you give an element in your program a name, that name usually starts with an alphabetical character.
Nullable variables must start with the hash (#
).
Some rules that are applicable to names follow.
- Start each word in a name with a capital letter, for example,
GetLocalTime
andPaintWindow
. - Start names of methods, functions, subroutines, and traits with a verb.
- Start names of classes, structures, properties, and modules with a noun.
- Try not to use abbreviations.