4. Invest in code reviews

Summary

Re-view code: More eyes will help make more quality. Show your code, and read others’. You’ll all learn and benefit.

Discussion

A good code review process benefits your team in many ways. It can:

• Increase code quality through beneficial peer pressure.

• Find bugs, non-portable code (if applicable), and potential scaling problems.

• Foster better design and implementation through cross-breeding of ideas.

• Bring newer teammates and beginners up to speed.

• Develop common values and a sense of community inside the team.

• Increase meritocracy, confidence, motivation, and professional pride.

Many shops neither reward quality code and quality teams nor invest time and money encouraging them. We hope we won’t ...

Get C++ Coding Standards: 101 Rules, Guidelines, and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.