1 Overview
Code review often devolves into a hunt for smells: long methods, duplicated logic, cryptic names. While these signals can indicate problems, treating them as the primary goal turns review into a checklist exercise. Reviewers scan for patterns they dislike, authors defensively justify their choices, and the conversation drifts away from the actual purpose: ensuring the change fits the system's design and will be maintainable. The result is reviews that feel adversarial and miss deeper issues like poor abstraction boundaries or misaligned responsibilities.
This article argues for a design-first approach. Instead of chasing every smell, reviewers should ask whether the change improves or degrades the overall design. Does it introduce a new concept that belongs elsewhere? Does it duplicate logic that already has a home? Does it make future changes harder? These questions require judgment, not rule-following. They also respect the author's intent while holding a high bar for structural quality.
By focusing on design, teams reduce noise and make reviews more meaningful. Smells become clues, not verdicts. The goal is not perfection but a shared understanding of how the code should evolve. This shift benefits both reviewers and authors: reviewers spend less time on trivialities, and authors receive feedback that helps them grow as designers.
2 Why the usual advice misses the point
Many code review guides emphasize finding smells as a proxy for quality. They encourage reviewers to flag long parameter lists, comments that explain bad code, or classes with too many responsibilities. These heuristics are useful, but they are context-dependent. A long method might be a clear, linear algorithm that is easier to follow than a dozen tiny functions. A comment might explain a non-obvious business rule that cannot be expressed in code. When reviewers treat smells as absolute rules, they generate false positives and erode trust.
Worse, smell-hunting encourages a focus on local details rather than global design. A reviewer might spend ten comments on naming and formatting while missing that the change introduces a circular dependency between modules. The author, faced with a barrage of nitpicks, may comply superficially without addressing the underlying structural issue. Over time, the team optimizes for passing review rather than for building a coherent system.
The usual advice also assumes that smells are objective. In reality, they are signals that require interpretation. A duplicated block might be acceptable if the two contexts are likely to diverge. A large class might be a cohesive domain entity. Without understanding the domain and the trajectory of the codebase, reviewers cannot judge whether a smell is harmful. Design-first review replaces rigid rules with thoughtful questions.
3 The core idea in practice
Design-first review means evaluating a change against the system's architecture and future needs. Start by understanding the intent: what problem does this change solve? Then ask whether the solution fits the existing design. Does it introduce a new layer or bypass an existing one? Does it couple components that should remain independent? Does it add a responsibility to a module that already has too many? These questions surface design issues that smell-hunting often misses.
In practice, this looks like asking about boundaries and contracts. For example, if a change adds a new field to a data transfer object, consider whether that field belongs in the domain model instead. If a function grows to handle multiple cases, ask whether those cases represent distinct concepts that deserve their own functions or classes. The goal is not to demand a rewrite but to ensure the change moves the design in a sustainable direction.
This approach also means accepting trade-offs. Sometimes a quick fix is appropriate, especially under time pressure. The reviewer's job is to make the trade-off explicit: "This works, but it couples X and Y; we should revisit if Z changes." That kind of feedback is more valuable than a list of smells. It gives the author a clear picture of the design debt being incurred and a chance to decide whether it is worth it.
4 A repeatable review process
A repeatable process helps teams apply design-first review consistently. First, read the change description and any linked context. Understand the problem before looking at the code. Second, skim the diff to get a sense of the shape: which files changed, how large the change is, and whether it touches critical areas. Third, read the code in detail, but with design questions in mind: does this change introduce new dependencies? Does it duplicate logic? Does it make the code harder to test or extend?
Next, separate blocking issues from suggestions. Blocking issues are those that would cause bugs, break contracts, or create significant design debt. Suggestions are improvements that could be made now or later. Be explicit about which is which. This prevents authors from feeling overwhelmed and helps them prioritize. Finally, summarize your feedback in a few sentences: what you liked, what concerns you, and what you recommend. This summary gives the author a clear path forward.
Throughout, keep the tone collaborative. Ask questions rather than making accusations. "What happens if this fails?" is better than "This will fail." "Could this logic live in the service layer?" is better than "This is in the wrong place." The process should feel like a design discussion, not an audit. When teams follow this process, reviews become faster and more focused, and authors learn to anticipate design concerns.
5 Common mistakes reviewers make
One common mistake is treating every smell as a defect. A reviewer sees a long method and demands it be split, even if the method is a straightforward sequence of steps. This creates unnecessary churn and can make the code harder to follow. Smells are clues, not commands. Another mistake is ignoring design context in favor of style nits. Spending review comments on formatting or naming while missing a broken abstraction wastes everyone's time and signals that the reviewer values superficial consistency over structural quality.
A third mistake is blocking merges over non-critical issues. If a change is correct and safe, but the reviewer prefers a different design, that is a suggestion, not a blocker. Blocking on preferences erodes trust and slows delivery. Reviewers should reserve blocking for correctness, security, and significant design problems that will be costly to fix later. They should also avoid rewriting the author's code in comments; instead, explain the concern and let the author propose a solution.
Finally, reviewers often forget to acknowledge what is good. Positive feedback reinforces good design choices and makes the review feel balanced. It also helps the author understand which parts of their approach are working well. A review that only lists problems can be demoralizing and may discourage authors from taking design risks. A simple "I like how you extracted this interface" goes a long way.
6 Tooling that helps (and where it fails)
Tooling can support design-first review by automating mechanical checks. Static analysis tools can flag potential bugs, unused code, and some structural issues like excessive complexity. Continuous integration can run tests and linters, ensuring that basic quality gates are met before human review. These tools free reviewers to focus on design rather than syntax. Code review platforms themselves can help by allowing reviewers to comment on specific lines, mark suggestions as non-blocking, and track conversations.
However, tooling fails when it tries to replace judgment. A linter can tell you a method is long, but it cannot tell you whether that length is a problem. A complexity metric can flag a function, but it cannot understand the domain. Tools that enforce rigid style rules can create noise and distract from design. Similarly, automated suggestions for refactoring can be wrong if they ignore context. Reviewers should use tooling as a first pass, not as the final word.
Another limitation is that tools rarely understand architecture. They cannot see that a change introduces a cycle between modules or that a new dependency violates a boundary. Those judgments require human understanding of the system. So while tooling is valuable for catching low-level issues, it should not be the centerpiece of review. The centerpiece is the conversation about design, supported by tools that handle the mechanical parts.
7 Frequently asked questions
How do I convince my team to stop smell-hunting? Start by sharing examples where smell-hunting led to wasted effort or missed design issues. Propose a trial period where reviewers focus on design questions and see if the quality of feedback improves. Emphasize that smells are still useful as clues, but they should not be the primary goal. Encourage authors to ask for design feedback explicitly.
What if the author disagrees with my design feedback? Treat it as a discussion. Ask questions to understand their reasoning. If they have a valid point, acknowledge it. If not, explain the trade-offs clearly. Remember that design is not about being right; it is about making the best decision for the system. Sometimes the author's approach is better; be open to that.
How do I handle a large change that is hard to review? Ask the author to break it into smaller, logical commits or pull requests. If that is not possible, review it in stages, focusing on one aspect at a time. Use a checklist of design questions to guide you. And do not be afraid to ask for a walkthrough. A short conversation can save hours of back-and-forth in comments.
Does design-first review slow things down? Initially, it may feel slower because it requires more thought. But over time, it reduces rework and prevents design debt. Teams that adopt it often find that reviews become more efficient because they focus on what matters. The goal is not speed for its own sake but sustainable pace.