Peer Review Techniques
Learning Objectives
- Review code using clear quality criteria.
- Give actionable, respectful feedback.
- Separate critical issues from suggestions.
Review Workflow
- Understand purpose and expected behavior.
- Verify correctness and edge cases.
- Check readability, structure, naming.
- Check performance and security risks.
- 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
- Review one 100-line program with checklist.
- Label comments as blocker/high/low priority.
- Add one positive comment for maintainability.
Summary
Useful reviews are specific, testable, and respectful.