| 219 | |
| 220 | = Name Conventions Common Mistakes = |
| 221 | * Avoid non descriptive names |
| 222 | |
| 223 | A name should be clear enough to suggest what the thing is given the local context. For example: |
| 224 | |
| 225 | {{{ |
| 226 | private static final int FRAME_CORRECTION_POSITION = 20; |
| 227 | }}} |
| 228 | is not clear in the context of the class Frame. It may be more clear in the context of the frameDropped() method, but here it is not. A better name would be |
| 229 | {{{ |
| 230 | private static final int FRAME_DROP_OFFSET = 20; |
| 231 | }}} |
| 232 | |
| 233 | * Avoid inaccurate names |
| 234 | |