chiefletterAll stories

Tools & practice / CHIEFLETTER JOURNAL

Code Review That Helps the Work Move Forward

A practical guide to writing smaller pull requests, giving useful feedback, and keeping review focused on shared quality.

Two colleagues reviewing work together
Photography via Unsplash

A review is a conversation about risk

Code review is sometimes treated as a vote on whether someone’s work is good enough. That framing makes ordinary questions feel personal. A better purpose is to notice risks before the change reaches users: incorrect behavior, confusing structure, missing tests, or a decision that makes future work harder. The author knows the intent; the reviewer brings another perspective. Both are working on the same result.

Start with the change’s purpose. Read the description, reproduce the behavior if possible, then inspect the diff in manageable pieces. Ask whether the code does what the author says it does. Look at tests and failure paths, not just the happy path. Style matters when it affects clarity or the team’s conventions, but do not let formatting preferences crowd out correctness.

A useful review comment names behavior and risk: “This retries every 400 response. Should only timeouts and server errors retry? The provider treats 400 as permanent.”

Make the change small enough to understand

A pull request that mixes a feature, dependency upgrade, unrelated cleanup, and a file rename is harder to review than four focused changes. Smaller diffs make the intent clearer and reduce the chance that a subtle issue hides between unrelated edits. If a large change is unavoidable, provide a map: what to read first, which parts are generated, and where a decision needs attention.

The description should tell a reviewer what changed, why it changed, how it was checked, and what remains uncertain. Screenshots or a short recording can help for interface changes. Mention a risky assumption directly. A reviewer should not need to reverse-engineer the reason for the work before they can assess whether the implementation fits.

Write comments that help someone act

A helpful review comment names the concern and gives a path forward. “This is confusing” is difficult to use. “Could we move this conversion into the parser? The caller currently receives local time in one path and UTC in another” explains the risk and suggests a direction. If you are uncertain, make that clear and ask a question rather than presenting a preference as a rule.

Separate blocking issues from suggestions. A possible correctness bug deserves a clear request; a naming preference may be optional. Avoid sarcasm and judgments about the author’s ability. Text has no facial expression, and the person on the other side may be reading your note after a long day. Precision and kindness are not opposites.

As an author, make review easy

Review your own diff before asking someone else to read it. Remove debugging output, check that the tests you describe actually ran, and make sure the change has an understandable commit or pull request title. If you need review quickly, say what is urgent and why. Do not assign every teammate because you are anxious; choose people with relevant context and respect their workload.

Respond to comments with the decision. If you make a change, link or describe it. If you do not, explain the trade-off or ask a follow-up question. A thread left unresolved can make it unclear whether the concern was addressed. Once approved, merge with care and keep the change’s status visible to the team.

Agree on what review is for

Teams can make reviews more useful by writing down what merits a blocker, how quickly reviewers should respond, and when a discussion should move to a call. A two-line correction should not wait three days for a meeting. A complex design decision may need more than scattered comments. Shared expectations reduce the personal tension that comes from guessing what “good review” means.

A healthy review culture shares both responsibility and learning. Senior people explain context, newer teammates ask questions, and authors can disagree with a suggestion respectfully. The goal is not to make every patch identical. It is to ship work that the team understands and can maintain.

Separate must-fix correctness or security issues from suggestions about style. Explain the user impact and point to a relevant test or rule. If the concern is uncertain, ask a question and describe the scenario. Authors should respond to the behavior under discussion, not infer criticism from a short comment.

A short working note

Try this with your work

A practical guide to writing smaller pull requests, giving useful feedback, and keeping review focused on shared quality.

0 of 30 of 3 steps
Your note stays in this browser.

Problem note

Capture a useful technical observation.

Video resources

For a visual walkthrough related to this topic, see this YouTube learning resource. It opens a topic search so you can choose a current explanation that fits your level.

Frequently asked questions

How many approvals should a pull request need?

That depends on the risk and the team’s process. A low-risk documentation change may need less review than a security-sensitive change. Agree on rules that fit the work.

How fast should I review code?

Follow the team’s expectations and communicate if you cannot meet them. Timely review keeps work moving, but quality review requires enough attention to understand the change.

Should reviewers comment on style?

Comment when the issue affects readability, consistency, or a written team convention. Avoid blocking a change over personal preferences that a formatter or linter could handle.

What if I disagree with a reviewer?

Explain your reasoning, ask about the risk they see, and look for a decision based on shared goals. Escalate to a short conversation when text is creating more heat than clarity.