Agenda

  1. Warm-up: Spot the Bug — a subprogram that changes nothing
  2. Pairs: Subprograms Practice
  3. Refactor: take a Unit 2 program and pull one repeated block out into a subprogram, running it after every step

Things to do before our next class

  • One program refactored. Keep both versions.