Some strategies which can be used to help verify the implementation are:
-
Pair programming. By pairing to implement the code in the first place, you effectively evaluate the code as its
being written.
-
Read through the code for common mistakes. Consider keeping a checklist of common mistakes that you make, as a
reminder reference.
-
Use tools to check for implementation errors and inappropriate code. For example, use a static code rule checker or
set the compiler to the most detailed warning level.
-
Use tools that can visualize the code. Code visualization, such as the UML visualizations in the Eclipse IDE, help
developers identify issues such as excessive coupling or circular dependencies.
-
Perform informal, targeted code inspections. Ask colleagues to review small critical sections of code and code with
significant churn. Avoid reviewing large sections of code.
-
Use a tester to ensure the implementation is testable and understandable to testing resources.
|