Camel casing
A common technique to name variables is to capitalize the first letter of a word. The first word will stay lowercased. For example: $currentCarSpeed is an example of that. The first word current in this variable name is lowercased, however first letter of each new word is capitalized. This technique adds clarity to variables. This technique is know as camel casing.
Comments
Post a Comment