Junior Track Roadmap

Code reviews: principles

This course covers the judgment behind code review: which comments are worth leaving and how to decide. It draws on Google's engineering-practices documentation, whose standard is to approve a change once it improves overall code health, even if it isn't perfect. Lessons look at what this app's CI checks and what it leaves for a person, how to label comments as nit, optional or required, and how to keep the tone on the code. They also cover turnaround, picking a verdict, receiving feedback, and a comparison of two reviews of one diff.

What you'll learn

  • ✓What this app's CI checks and what it leaves for a human reviewer
  • ✓Labeling comments as nit, optional or required
  • ✓Writing comments about the code instead of the person
  • ✓Choosing between Approve, Request changes and Comment, and responding within one business day
  • ✓Telling disagreement from confusion when receiving feedback
  • ✓Comparing a rubber-stamp approval with a calibrated review
Free preview · Lesson 1 3 min read

What code review is for

The opening lesson of "GitHub pull requests" gives code review one bullet out of four: "a second set of eyes catches bugs, suggests better approaches, and spreads knowledge of the codebase across the team". That course had seven lessons of GitHub mechanics to cover: the diff view, inline comments,…

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...