Software Engineer: What is a code review?
A reviewer performs a code review. Who checks the code committed in a development branch of a code repository. The reviewer asks questions to the code developer related to the code that is added/removed. The reviewer checks the code and gives suggestions. The reviewer verifies if the code committed follows the code standards of the repository or organisation.
Why is it necessary to perform a code review?
Code reviews make sure the commits to the Code repository follows the best practices and there is a consistency of code style.
What should be kept in mind when performing a code review?
The suggestions given in a code review educate the reviewer as well as the code developer. This allows to have discussions about the code.
The main goal of the code review is to reduce “bus factor”. Bus factor means one of the team member has more knowledge of the code repository than other team members.
What the commit messages should convey to reviewers?
The commit messages should explain what are the changes in the code and what the code is doing?
If you like my articles, please follow me. You can also support me by buying me a coffee.