When you give an element in your program a name, the rules can be different for different data types.
Value types must start with an alphabetical character.
Reference types must start with the hash (
- Start each word in a name with a capital letter.
- Start names of methods, functions, and subroutines and traits with a verb.
- Start names of classes, structures, properties, and modules with a noun.