Code Reviews
Code Reviews
Yesterday I kicked off Module 8: Code Reviews. Key things I went through:
Code reviews are an important activity in software development. They help share knowledge, improve code quality, and raise developers skill level.
When code reviewing, the reviewers can use a checklist of things to go through. I counted 10 items so far. I'll add to it:
- Understanding the code
- Functionality
- Code formatting
- Naming conventions
- Consistency
- Readability
- Simplicity
- Unused code
- Duplicate code
- Potential edge cases
- Praise your peer
There are different methods to deliver code reviews:
- Written code reviews, usually via GitHub Pull Requests
- Over-the-shoulder code reviews, either in person, or via recorded video.
Using a Scrimba Scrim to deliver a recorded code review is an example of an over-the-shoulder code review.