Like QT naming rules
Specially searched and pasted
1. the QT component is named in uppercase.
2. The variable is used to join lower-case words.
3. By default, all file names are in lower case.
4. All macros are in uppercase.
5. Membership Function hump principle.
6. User variables:
PS:
The camel naming method (also known as the camelcase method) is a combination of uppercase and lowercase letters to form the names of variables and functions.ProgramFor your ownCodeIt is easier to communicate with peers, so it adopts a Uniform Naming method with better readability. For example, some programmers prefer lower case letters and some programmers prefer to use underscores. Therefore, if you want to write a variable named my name, you can write myname, my_name, myname, or myname frequently. Such naming rules are not suitable for all programmers to read, but are expressed using the camper method to increase program readability. For example, the following is the same function named by the camel naming method and the underline method respectively:
Printemployeepaychecks ();
Print_employee_paychecks ();
The first function name uses the camel naming method-each logical breakpoint in the function name is marked with an uppercase letter; the second function name uses the underline method-each logical breakpoint in the function name is marked with an underscore.
The camel naming method has become increasingly popular in recent years. It is widely used in many new functions libraries and Microsoft Windows environments. On the other hand, the underline method became popular after the emergence of C. It is widely used in many old programs and UNIX environments.