Archived post: posted sometime between 2016 and 2022.

How we do code review at BigFont

Initial Checklist

Before reading the code we check these things:

For a Node project with TypeScript that means the following should just work.

git clone [email protected]:Company/repository.git
git checkout topic-branch
npm install
npm run build
npm run test
npm run typeCheck
npm run start

Then We Do This

Create a list of files.

git diff master... --stat > code-review-notes.txt

// or 

git diff master... --stat | vim -

This helps because:

For each file in the list, take notes on it. Then mark it as "done" when its review is complete.

Understand what the code is doing. Then write down a short, precise description. This description helps because:

More to come...