Skip to content

Peer Review Techniques

Learning Objectives

  • Review code using clear quality criteria.
  • Give actionable, respectful feedback.
  • Separate critical issues from suggestions.

Review Workflow

  1. Understand purpose and expected behavior.
  2. Verify correctness and edge cases.
  3. Check readability, structure, naming.
  4. Check performance and security risks.
  5. Suggest concrete fixes.

Good Feedback Pattern

  • State issue.
  • Explain impact.
  • Suggest specific improvement.

Example: "Nested loops make this O(n^2); use a hash map to reduce lookup time."

Practice Tasks

  1. Review one 100-line program with checklist.
  2. Label comments as blocker/high/low priority.
  3. Add one positive comment for maintainability.

Summary

Useful reviews are specific, testable, and respectful.