Ship It

Lesson 3 · rocket Ship It

Debugging Methodically

Narrow a bug down instead of changing things at random.

Before you start

Debugging is a search problem. Reproduce it reliably, form one hypothesis, test that hypothesis, and cut the search space in half. Changing three things at once and re-running is how a twenty-minute bug becomes an afternoon.

5 exercises·up to 72 XP·5/5 hearts