How it works
A long program is built from small parts, joined end to end.
Give each part a name and one job, so each is easy to understand.
Run each part as you build it, so a bug has fewer places to hide.
Run a part, check it, then add the next. Fix one bug at a time.