Agenda
- Warm-up: Trace It — a function called inside a loop
- Refactor together: take a Unit 2 program with a repeated block, pull the block out one step at a time, running it after each step
- Compare and name it: modularity, in Decomposition and Design — code you can lift out and use somewhere else
Things to do before our next class
- Refactor one of your own the same way. Keep both versions.