With many eyeballs on the code, all bugs are shallow. Colleagues can help you find bugs and improve the quality of your source code.
Code reviews can be done in many ways. The code can be presented on a big screen, so the entire team can do the review together. You can also ask one or two peers to simply sit behind your desk while you talk them through your code. Code analysis can also be a part of the workflow (e.g. every commit must be reviewed by someone else).
- Peers with a critical view.
- A willingness to improve weak points in your code.
- Code standards, a code style guide, checklists, etc.
- Use a tool or template like Business Model Canvas.
Code review sessions are often incorporated into software development projects. In Scrum, code reviews can be part of the ‘definition of done’. Pair programming can also be an effective way to let your work be continuously reviewed by a peer.
Phase(s) of use
In the following project phase(s) code review can be used: