liveBook · Manning

5p process

As explained in "Looks Good to Me"

The 5P process is a code-review decision technique that pauses and considers whether to pass, propose, or postpone an objective suggestion.

During code review, pause before writing a suggested change. Ponder what prompted it, why it is necessary, whether it belongs now, and whether objective facts support it. Then choose Pass, Propose, or Postpone. section 6.1.1

Use the process to keep reviews focused and suggestions defensible:

  • Pass when the suggestion is not valid or cannot yet be clearly explained; leave it out of the review. section 6.1.1
  • Propose when the suggestion remains valid after reflection; state its rationale clearly in the review comment. section 6.1.1
  • Postpone when the idea is worthwhile but inappropriate for the current review; record it for a later team discussion. section 6.1.1

A reviewer’s decision

A reviewer notices a possible improvement while examining a pull request. Instead of immediately adding review creep, the reviewer pauses, writes down the reason, checks whether the change is necessary now, and either omits it, proposes it with objective support, or saves it for team discussion. section 6.1.1 section 6.0

Figure 6.4 The 5P process for suggesting a change during a code review
figure

Use the process diagram to navigate the pause-and-ponder decision and its three possible outcomes. section 6.1.1

How "Looks Good to Me" covers it

How deep it goes
Explains a pause-and-reflection step followed by three decisions, without prescribing detailed comment wording.
Examples
Uses proposed review changes, objective supporting facts, deferred notes, and later team discussions as practical artifacts.
What it assumes
Assumes participation in code review and teaches from zero how to examine a suggestion before posting it.
What you can do after
Apply it to filter review suggestions, communicate valid changes clearly, and defer worthwhile ideas without expanding review scope.
How it connects
Connects code review comments with objectivity, codebase maintainability, review creep, and effective communication.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of "Looks Good to Me". The section links point to the parts of the book it draws on.