Basically, the name of a variable must reflect its function and should be self-explanatory.
In general, variables should always be given an English designation, unless the element of the variable to be designated is German, for example, when reading the Mobilfunknummer in a German CRM system, the variable would also be called Mobilfunknummer, provided that the field designation is also German.
We also use the CamelCase notation. This means, if a variable consists of several terms, for example, LoginnameSap, this is not separated by an underscore, but highlighted by a capital letter. If necessary, the used application should always be written after the actual name of the variable.
Summarized:
- Self-explanatory
- Leading language: Englisch
- CamelCase, for example, LoginnameSAP, FoundImageExcel