logoalt Hacker News

phyzix5761today at 7:37 PM2 repliesview on HN

With a robust enough test suite and a team that does TDD and mob programming, code reviews are pretty much obsolete and a waste of time. Everyone's already involved in the coding process as a mob and the tests catch any regressions.


Replies

jjmarrtoday at 7:41 PM

There's two purposes to review. One is to enforce ownership, and the other is to provide mentorship.

Even if you don't have ownership, mentoring is still useful.

I get asked for review by teammembers on an area I have expertise in.

Their solution might work but cause problems later. With review, I can knowledge transfer my lived experience so they don't suffer like I did.

The third purpose to review is stylistic nitpicking and formatting as a simulacrum of actual work. This is useless and turns people off from review.

rsalustoday at 7:42 PM

100p agree. Most code reviews devolve to nitpicking anyway. I think it's much more valuable for teammates to review the _design_ and _intent_ rather than the explicit artifacts.