It has been said that 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, and expect the same results!
The goal of this chapter is for you to begin to build automation into your code. Part of the power of code is that it cheerfully performs the same action as often as required without stumbling ...