Get Your Code Reviewed

No matter how careful you are, sooner or later you’re going to create an intended fix that makes things worse rather than better. This is particularly true when it comes to code quality and maintainability, which no amount of testing (automated or otherwise) is able to guarantee. Code reviews, formal or otherwise, are an extremely good means to catch problems like this before they do any permanent damage.

Reviews are an intrinsic part of some development methodologies. XP, for example, ensures that two pairs of eyes see every change via pair programming. It doesn’t have to be a formal element of your methodology to be useful, however.

Who and When?

There is no single right time for a review. On occasion, getting a colleague ...

Get Debug It! 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.