- Use intention revealing names, it is obvious what the variable is used for
- Avoid disinformation, for example
Account[] accountList;(not a list) It’s better to useAccount[] accountArray;or betterAccount[] accounts; - Use British English everywhere
- Make meaningful distinctions between variables
- Do not include “noise” words such as “variable”, “the”, “data”.
- Use searchable names
- Avoid “magic values”; hard-coded constant values