Code review basics
Read short code, find the bug, explain the fix.
Chapters · 0 of 3 done
Introduction
By the end you can
- Say what a piece of code is meant to do and trace it by hand
- Name the bug, the line and the smallest fix
- Write a small test that fails before the fix and passes after
Chapters
- 1Read the code before judging itHow to read code before you judge it6 min
- 2Name the bug and the fixWhat a useful review comment says6 min
- 3Write a test that proves itHow one small test proves a bug7 min