Home

Code Review

Course Link: Programming Foundations: Conducting Code Reviews by Kathryn Hodge

What do code reviewers look for?

Who should code review?

Benefits of code review from POV of a junior developer

How many people should review a code?

What code should be reviewed?

How long does it take to review code?

Understanding code changes as a reviewer

Read this naming cheatsheet to get insights on how to name your variables for readability and sensibility.

Maintainability of code

How to give feedback comments?

By simply prefixing the comment with a label, the intention is clear and the tone dramatically changes. – conventionalcomments.org
conventional: comments is a standard for formatting comments […]

Following these comment formating practices convey the reviewer’s intent more clearly and such comments can also be parsed by machine into a standard (example, json) format.

Checklist before creating a PR

git checkout master
git fetch
git checkout dev
git merge master

Read about The Queen’s Duck

How to act on the review comments received?

Miscellaneous readings

Code Review Pyramid

an image taken from Jake Zimmerman's blog on code review from the command line