Appendix F — Guidelines for Building Applications
General Tips
Naming Conventions
In the demo applications in the Application Libraries, all forms, events, declarations, and methods use camelCase. You can adopt this convention also in your own applications. Following this convention, a name should be composed of a number of words joined without spaces, with each word’s initial letter in capitals except the first letter that should be lowercase. Use a descriptive name and long names are better than hard-to-understand short names.
Examples of names for forms:
Examples of names for events:
Examples of names for declarations:
Examples of names for methods:
Methods
Fewer methods give you a shorter list of methods to browse through when looking for something. Fewer methods usually mean fewer lines of code to worry about.
-
-
Forms
-
-
Consider setting keyboard shortcuts for buttons and menu items.