Code review used to be a second look at work a colleague wrote and could explain. Now a model writes much of the code, so review is often the only place anyone checks that it is right. That puts a lot of weight on something most engineers picked up without noticing, the feeling that a change is off before you can say why.

That feeling comes from writing code that broke and then working out why. You remember the pagination bug that dropped the last record, the retry that charged a card twice, and the timestamp that was right everywhere except in one time zone. An engineer who has fixed bugs like these reads a diff looking for what can go wrong. An engineer who has only approved code tends to read it for style.

What plausible but wrong looks like

Code from a model usually fails in a familiar way. It compiles, it matches the style of the file around it, and it handles the case you described. What it misses is usually something you never mentioned.

  • A loop works for the first page of results and quietly stops at the second.
  • A write and a read need a transaction, and there is not one.
  • An error is caught and logged when it should have stopped the operation.
  • A retry has no backoff and no idempotency key.
  • The code checks something and then acts on it, and another request can slip in between.

None of these stand out when you read the code, because everything around them looks clean. You catch them because you once wrote the version that failed.

Keep the hard parts for yourself

Hand the model scaffolding, boilerplate, test fixtures and moving code from one API to another, and review what comes back. Keep the parts where a wrong line costs the most and is hardest to spot. That means concurrency and anything that can run twice, data integrity, security boundaries, and the core business logic where the rules are yours.

Try writing the hard part yourself first, then ask the model for its version. Where the two differ, one of you is wrong, and finding out which is the cheapest code review you will do all week.

The apprenticeship problem

The risk is biggest for engineers early in their careers. If their first years are spent prompting and approving, they never collect the failures that build judgment. A few years later, the team has reviewers who cannot tell a correct change from a confident one.

Teams can plan for this. Give newer engineers work where they write and debug the core logic, and bring them into incidents. When someone finds a bug just by reading, talk about how they spotted it. A model speeds up writing code, but people still learn to judge code the slow way, by writing it and watching it break.

Next time you would hand a task to a model, write it yourself first. Then compare the two versions and note every difference you had to think about.

Terms in this piece

About this article

Format
Article
Level
Practitioner
Read
2 min read
Published
Nov 9, 2026
Disciplines

Considered pieces on one idea.

Article · · 2 min read

Read post-mortems, not tutorials

Tutorials teach one tool's happy path. Post-mortems teach how systems fail, and that carries over to every stack you will work on.