Everything should have a code review.

Don’t let it be a rubber stamp.

Code reviews correct mistakes. A second (or third) set of eyes looking over your code may catch some areas of concern you missed. These reviews help prevent defective code from being promoted forward, saving you rework later.

They also provide an excellent way to share knowledge. The developers doing the review can learn from you and the code you wrote. They learn more about the part of the business your code covers. They learn the technical details of the new features and how you have implemented them under the covers. They learn patterns and best practices that you put forth. Observing these things inspires them to write code better.

Code reviews also provide a friendly environment for constructive criticism, which gives you an excellent way to get advice from others on improving your techniques.

Finally, code reviews make coding fun. Through collaboration, we all get better because our friends make us better. This cooperation makes us all more awesome. And who doesn’t want to be more awesome?

Also try: pairing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: