Repetition is performing an action over and over again. Iteration is the deliberate attempt to perform an action in a manner that is superior to the last time you performed it: think better code than what you’ve written before, playing a song more smoothly than the last time you played it, etc.
Repetition versus iteration
Repetition versus iteration
Repetition versus iteration
Repetition is performing an action over and over again. Iteration is the deliberate attempt to perform an action in a manner that is superior to the last time you performed it: think better code than what you’ve written before, playing a song more smoothly than the last time you played it, etc.