Member-only story
9 best practices to improve your Code Reviews
2 min readJul 12, 2020
Code reviews are an integral part of any dev team. They are a great source of knowledge for developers at any level to learn from their teammates. They also ensure that only good quality refined code enters the master code base.
But what is an effective way to give good code reviews?
Here’s are the questions you should be asking while giving your next code review-
- DESIGN
- Does this code belong here or somewhere else?
- How is this code interacting with other pieces of code?
2. FUNCTIONALITY
- Will this code be easy to read and use in the future?
- Does this function as the developer intended?
3. COMPLEXITY
- Is this code more complex than it needs to be?
- Can it be understood easily by code readers?
- Will this cause more bugs when other developers try to call it or modify it?
4.TESTS
- Are there any unit, integration or end to end tests added, if required?