forumNew topic

How to build a code review culture? Ten years of observations

RRıdvan Y***Expert
Job title
Software team lead
Joined
Sep 2023
Message
196

Doki · Interface design · 2023

#1

I've been a team lead for a long time, so let me write this without rushing, because the most common mistake in this area is rushing it.

Code review isn't an audit, it's a training tool. In teams that don't accept this, the process always ends up in the same place: the senior person hunts for bugs, the junior gets defensive, reviews slow down, and eventually everyone approves without looking.

I've gathered a few rules that actually work, let me share them.

Submit in small chunks. Nobody can actually read a 500-line change, everyone just writes "looks good." The number of issues found increases significantly in changes under 200 lines.

Write comments about the code, not the person. Instead of "why did you do it this way," ask "what happens here in this scenario." Same info, totally different conversation.

Automate style debates. Indentation, quotes, naming, etc. should be handled by tools. If human time is spent on these, real issues get missed.

CCerenMember
Job title
QA Tester
Joined
Mar 2024
Message
178
Most Helpful#2

I agree from a testing perspective, but I have a question: is what you look for in a review written down?

The reason I ask is this: most teams have code reviews, but what gets checked depends on the person. One person looks at naming, another at error handling, another at nothing. Then they say "we reviewed it" and the same bugs go to production.

What worked for us was a short checklist. Not long, five items: are error cases handled, are edge cases considered, is backward compatibility broken, are tests written, are logging and monitoring sufficient.

I measured it, I'm not guessing: the number of bugs reaching production dropped noticeably in the quarter after this list was implemented. The list isn't magic, it just ensures everyone looks at the same things.

KKayahanMember
Job title
Full-stack
Joined
Jun 2024
Message
118
#3

i agree with the small chunk rule but it's hard in practice. sometimes changes are inherently large.

our solution was this: before submitting a large change, we write and share the approach on one page. a five-minute read prevents an hour-long review debate.

hearing that the approach is wrong after writing 500 lines is the worst. at that point nobody wants to go back and the bad decision goes to production.

AAhmetNew member
Job title
Student · software
Organization type
family business
Joined
Jan 2025
Message
48
#4

Can I say something as a beginner?

The hardest part for me isn't taking comments personally. When I get a comment I don't understand, I hesitate to ask again, thinking I'll look stupid. Then I guess and fix it wrong.

I don't know if it's just me, but maybe others feel the same.

RRıdvan Y***Expert
Job title
Software team lead
Joined
Sep 2023
Message
196

Doki · Interface design · 2023

#5

It's not just you, it's very common and fixing it is our job, not yours.

Two things worked for us. First, when writing comments, also write the rationale. Instead of "change this," say "this fails in this scenario, so it's better to do it like this." If there's a rationale, the need to ask questions decreases.

Second, when there are more than two rounds of back-and-forth, move the conversation to chat. A fifteen-minute call is faster than fifteen comments and much less draining.

Also, let me say this: there are no stupid questions. Three other people in the team are wondering the same thing you asked but don't ask. When you ask, you do all four of them a favor.

SSerhatMember
Job title
Go Developer
Joined
May 2024
Message
88
#6

Leaving style debates to tools is the biggest win on its own. It takes a week to set up, saves years of time.

SSinemExpert
Job title
Project manager
Joined
Oct 2023
Message
176
#7

A warning from project management: write the review duration into the plan.

here's how it went for us, for a long time we didn't count reviews as part of the work, the plan only had dev time. result: every review was seen and treated as "the thing slowing us down" and just done for show.

since we started putting it in the plan nobody's sabotaging reviews anymore, because it's no longer a delay, it's part of the plan itself.

GGürkanMember
Job title
Energy sector
Organization type
boutique agency
Joined
Nov 2023
Message
94
#8

I went through the same thing.

AAyşegülMember
Job title
Boutique hotel
Organization type
workshop
Joined
Aug 2024
Message
86
#9

Exactly like that. If you dont write this down from the start, it leads to arguments later.

Just leaving this note, it might be useful.

TTolga Y***Expert
Job title
Export manager
Sector
Printing
Organization type
chain store
Joined
Aug 2023
Message
3
#10

I completely agree. Just because everyone does it doesn't mean it's right.

If you have questions, write them; I'll answer as best I can.

TTülay K***MemberCommunity member
Joined
Mar 2023
Message
216
#11

The opposite happened to me, that's why I'm writing. The real issue isn't the number, but what it's based on.

If you post the result here, it will help others too.

ŞŞerife K***Veteran
Job title
Clinic manager
Sector
Electrical-electronics
Organization type
early-stage startup
Joined
Dec 2023
Message
128
#12

Just a heads-up. When making a decision, first look at what data you have on hand.

Processes without records never improve, because you don't know what to fix. I'm also curious if anyone does it differently.

KKaan G***ExpertCommunity member
Joined
Jun 2023
Message
94
#13

Following.

EElif B***Member
Job title
Courier coordinator
Sector
Healthcare services
Organization type
a company within a holding
Joined
Dec 2023
Message
228
#14

Same here.

AAlper E***MemberCommunity member
Joined
Dec 2024
Message
184
#15

Saved.

JJülide A***Member
Job title
Accounting Manager
Sector
Jewelry
Organization type
20-person company
Joined
May 2024
Message
103

Doki · Vulnerability scanning · 2026

#16

Let me summarize the topic since several different answers were given. tbh start with a small trial; don't commit to everything at once.

If I were you, I'd go this route.

GGökhan A***Member
Job title
Manufacturer · furniture
Joined
Oct 2023
Message
74
#17

Sorry but this doesn't apply in every case. Solutions that work at a small scale collapse when you grow; I learned this late.

Correct me if I'm wrong.

YYasemin S***MemberCommunity member
Joined
Feb 2024
Message
42
#18

It's rare to find an explanation this clear. Don't hesitate to ask; those who don't ask always pay more.

If scope grows, either time or budget must grow. There is no third option. I'm also curious if anyone does it differently.

RRecepNew member
Job title
Plumber
Organization type
20-person company
Joined
Dec 2024
Message
22
#19

timely topic.

AAlper P***Member
Job title
System administrator
Sector
Real estate
Organization type
20-person company
Joined
Aug 2024
Message
85
#20

Noted, thanks.

Reply