It has been said performing the same action and expecting a different result is a definition of insanity. While a brief search of Oxford’s dictionary does not turn up that definition, we have a similar premise: to prevent insanity, leave it to your computer to perform the same action repeatedly!
The goal of this chapter is for you to begin to build automation into your code. Part of the power of code is it cheerfully performs the same action as often as required ...