PhilChodrow / PIC16A

Course materials for PIC16A at UCLA
https://philchodrow.github.io/PIC16A/
MIT License
12 stars 17 forks source link

Resources on code efficiency? #9

Open PhilChodrow opened 3 years ago

PhilChodrow commented 3 years ago

A few students feel that they're not really equipped to reason about code efficiency, which is entirely understandable. How/where can we give them some basic tools for thinking about this? Maybe as an "interlude" when we get to control flow and dictionaries?

PhilChodrow commented 3 years ago

Could record a short lecture on this, slot it in with functions, and then do a Discussion activity in which students fix logic errors and work on code concision. Discussion activity could replace maze or prime numbers.