Code Review

Instructions for Reviewees

  1. Choose a single file to have reviewed. It would preferably be a “model”, the way you represent the key internal objects that you work with.
  2. Make sure to comment the file and structure it as best you can.
  3. Do NOT include any identifiable elements (so no names, emails etc).
  4. Upload your file to Moodle. Instructions to follow.
  5. When looking at the reviews, keep in mind that they are objective evaluations of the code, not judgements on your coding skills. In other words, don’t take the reviews personally.

Instructions for Reviewers

When doing code reviews of your peers, here are the items to address as you look at a single module file:

  1. Does the top of the file contain a comment explaining what the module’s role is?
  2. Is the public interface for the file clearly shown somewhere (typically near the end of the file)?
  3. For each public function or constructor in the file:
  4. For each function in the file: