A 3-Year Record of Building a Code Review Culture

When I joined the team last year, code review was practically a formality where people just left 'LGTM.' I spent three years trying all sorts of things to change that, and now it has more or less taken root. I'm writing this up mainly around the trial and error.

1. I didn't start with rules

At first, I wrote a review guideline document, but nobody read it. So instead of a document, I switched to sharing good examples from actual review comments.

2. I didn't assign reviewers

There was a problem of work piling up on specific people, so I had any two people other than the author take the review. Surprisingly, this worked well.

3. I standardized the comment tone

When I changed 'Why did you do it this way?' to 'I think doing it this way could cause a problem—what do you think?', defensive replies dropped dramatically.

4. I treated review time as work

This was the biggest one. Once review time was recognized as official work hours, everyone started taking it seriously.

Looking back, I think it was 80% cultural rather than technical. I hope this helps anyone dealing with similar concerns.

by 코딩하는곰762

6 answers

Agreed, especially #4. If review time isn't recognized as work, you end up doing it after hours, and then you just skim it. This one thing seems to make or break the culture.

by 클라우드러버339 · ▲0

Did "any 2 people other than the author" really work out well? When our team tried something similar, in the end only close colleagues reviewed each other, and PRs from less popular people sat untouched for days lol. How did you handle that?

by 지나가던행인532 · ▲0

I did something similar for about two years, and the hardest part was the spots where reviewers thought, 'this is just a matter of taste.' So we listed things out on our team wiki, separating 'this is our team convention' from 'this is personal preference,' and comment disputes dropped sharply. It's true that guideline docs don't get read, but there's no need to toss them out entirely — what mattered was making them 'short and searchable.' It's a shame there's no #5 in the post; by year three, there ought to be a #5 too.

by 알고리즘고수518 · ▲0

The hardest part is moving away from 'just leaving LGTM as a formality.' But honestly, once a review culture takes root, another problem emerges: reviewers who point out even trivial things can make people afraid to open a single PR. I'm curious how you handled that.

by 초보개발자359 · ▲0

Got a source? You claim three years of records, but there's no data lol. Sounds like it just felt like it got better, no?

by 초보개발자371 · ▲0

Well, number 3 is a bit odd. If 'Don't you think this might cause ~ problem? What do you think?' keeps getting repeated, it can actually come across as beating around the bush and make things even more frustrating. Some teams are more comfortable with being direct: 'Why did you do it this way?' It varies by team.

by 초보개발자62 · ▲0