In the past I had terrible experience with code reviews. Proposed changes never got integrated. The same people were always doing the code review. Some reviews were almost useless – very little comments except for “this getter is not documented and that’s our coding standard”.
That changed recently and I now appreciate being on both sides of code reviews. Everyone participates and the reviews I received improved my code. Hopefully the reviews I gave did the same. Since we started I think the quality of our application is higher.
Having your code reviewed has great advantages:
- It forces more rigor. Comments help to clean up and be more consistent.
- It helps to make code clearer. If code is not understood by your peer, there’s a good chance you won’t be able to understand it in a month.
- Reviews often simplify code. Your colleagues might have code to solve the same problem or they may know a better way.
That’s only one side of the story though. Reviewing code offers other perks:
- It spreads knowledge and helps to break silos.
- The reviewer sees other designs. Some of your colleague’s ideas might be worth stealing.
- It helps to get better and faster at reading code and understanding algorithms.
Maybe it’s just me, but I believe code reviews make me achieve higher coding standards. What I would like to improve in my team is to get a shorter feedback loop. I try to commit early to get initial comments on my feature. Unfortunately everyone is busy and code review is not always the priority of the day so I often have time to finish the feature before it gets reviewed. Nobody’s perfect – I’m the first to be guilty of prioritizing the feature I’m working on over a review. I’m committed to change my priority from now on.
What should be reviewed to make your application better? Functionality. Compliance to requirements. Code. Naming conventions. Tests. Design. Clarity. Documentation. Usability. Performance. Everything that matters to your team.
Perfection lies in details. Code reviews is one way to make your app shine.

