- General Naming: Use abbreviations consistently. An abbreviation must clearly stand for only one thing and Use Descriptive Terms so you can easily follow and remember.
- Avoiding Reserved Words: Don't use reserved terms for the names of your Variables, otherwise it may cause errors.
- Naming Variables: Give each Variable a Unique Name and make sure not to use an obsolete code.
- Naming Constants: Constants should be Upper Case
- Naming Boolean Variables: Start Boolean variables with the word "is"
- Functions and Methods: Use descriptive names, Start function and method names with a lowercase letter, Describe what value is being determined.
- Naming classes and objects: Begin with a capital letter
- Naming Packages: Put Prefixes in Lowercase Letters
- Naming Interfaces: Start Interfaces with a capital "I" Makes it easier to distinguish
- Naming Custom Components: Be Consistent
Weekly Post for 5/3/12
12 years ago