Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of code/C++_styleguide


Ignore:
Timestamp:
Oct 1, 2007, 11:10:34 PM (17 years ago)
Author:
patrick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/C++_styleguide

    v2 v3  
    1010 * unit test supported (in debug mode)
    1111 * compiler mode: warnings being treated as errors
     12
     13== Code Reviews ==
     14Code review is a pretty simple process: at its heart, it is little more than reading some code written by someone else. Nevertheless, it can be useful to have a set of things on which to focus during a review:
     15
     16    * Does the branch merge or the diff apply cleanly?
     17    * Are there unit tests for the code being changed or added?
     18    * Do the unit tests pass for you?
     19    * Do the unit tests pass for buildbot?
     20    * Is there documentation for new code?
     21    * Where appropriate, has existing documentation been updated (including ChangeLog?/NEWS files)?
     22    * Does the code adhere to the coding standard?
     23
     24There's the easy list. Most are mechanical checks. Don't feel bad about rejecting a branch if the answer to any of these questions is no: the problems may seem minor in isolation, but each contributes to overall poor code quality. Moreover, sometimes apparently minor problems can be hiding larger issues.