Changes between Version 5 and Version 6 of CODE_TASKS_REQUIREMENTS


Ignore:
Timestamp:
09/26/08 11:47:00 (17 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CODE_TASKS_REQUIREMENTS

    v5 v6  
    217217}}} 
    218218file shall be declared private. 
     219 
     220= Name Conventions Common Mistakes = 
     221 * Avoid non descriptive names 
     222 
     223A name should be clear enough to suggest what the thing is given the local context. For example: 
     224 
     225{{{ 
     226private static final int FRAME_CORRECTION_POSITION = 20; 
     227}}} 
     228is 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{{{ 
     230private static final int FRAME_DROP_OFFSET = 20; 
     231}}} 
     232 
     233 * Avoid inaccurate names 
     234