9Design and Code Reviews

Doing thorough design and code reviews will do more to improve the quality and productivity of your work than anything else you can do. In addition to reviewing your personal work, you should also review everything you use as a basis for this work. This includes the program’s requirements, the high-level design, and the detailed design. Then, after you write the program, review it before compiling or testing it. If you find problems, fix the defects, correct faulty logic, simplify the program’s structure, and bring the code up to your personal and team coding standards. If a program is unclear or confusing, add comments or rewrite it to make it simpler and cleaner. Make your programs easy to read and to understand.

Get PSP(SM): A Self-Improvement Process for Software Engineers 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.