Hands-on drills for Module 1. Each hands you a deceptively simple function and asks you to pin its behaviour — that means: predict exactly what it does, then run it to confirm, and write that confirmed outcome down as a check that runs (a test — a very formalized, precise spec of what the code does). Capturing what code actually does, before you trust it or change it, is the discipline you carry into Module 4 — Refactoring.

Your editable copies are installed with the course — open a drill from Your exercises on the module page and work directly in your own space.


← Module 1 — Introduction · Solutions

Reconnecting…
The connection to the server was interrupted. Trying to restore it…
Trying again…
The connection could not be restored. Reloading the page…
The server was updated. Reloading the page to pick up the latest version.