Chapter 13
Multi-Pass Thinking
Consider what actually happens when a senior engineer reviews a pull request in a single pass, which is to say, the way most code review happens in most organizations. The engineer opens the diff, reads from top to bottom, and forms a running judgment that attempts to evaluate simultaneously whether the code compiles, whether the logic is correct, whether the design is sound, whether the error handling is adequate, whether the naming is consistent, whether the change is safe to deploy, and whether the overall approach is the right one. These are not the same question. They operate at different levels of abstraction, require different cognitive frames, and draw on different areas of expertise. Evaluating whether ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access