Lesson 1 · Unit 01
Where to start
README, entry point, tests, then one request
What you practise
- Entry points, the tests and README as a map, a file tree read for intent, following one request through
Try a question from this lesson
Pick one
You join a project with 400 files. Your first task: "Export to CSV drops the last row." Where do you start reading?
Correct answer
The README, then a search for "csv"
Why
You never read a codebase top to bottom. The README says how to run it, and a search for the feature's own word lands you next to the bug. Size and alphabet say nothing about where the export lives.
The idea
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
Read from the outside in
A codebase is a city: you need the map before the street names.
Start where a user starts. The README says how to run it. The entry point is where execution begins. The tests say what it is supposed to do.
Only then follow one request inward. You are not trying to read everything. You are trying to know where to look.
10 more exercises in the app
- 4× multiple choice
- 3× type the answer
- 1× order the lines
- 1× true or false
- 1× match the pairs
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.