Lesson 1 · Unit 04
The author's side
One purpose, a real description, your own review first
What you practise
- Small changes, a description that says why, reviewing your own diff first, splitting refactor from behaviour
Try a question from this lesson
Pick one
The same 900 changed lines can ship as one pull request, or as five that each do one thing. Which gets the more careful review, and why?
Correct answer
Five: each is small enough to actually be read
Why
A reviewer can hold one small change in their head and check every line against its purpose. Faced with 900 lines, people skim and approve. Five small reviews also merge sooner than one that waits for a free afternoon.
The idea
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
A description that helps
A reviewer starts from your description. Give them four things.
What: the change, in one sentence. Why: the problem it solves, with a link to the issue. How tested: what you ran, and what you did not. Risk: what could break, and how to undo it.
The diff shows what changed. Only you can say why.
10 more exercises in the app
- 2× type the answer
- 5× multiple choice
- 1× fill the blanks
- 1× true or false
- 1× order the lines
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.