As you may have noticed from this book’s index, you’re about to jump into a series of lessons on recursive programming. I separated this text into a series of small lessons to make the content easier to read initially, and then easier to refer to later.
Please note that some of these lessons may be overkill for some people. This is, after all, the first draft of this book, and I’m trying to find the best ways to teach recursive programming. I start by reviewing the List
class, then show a straightforward, “Here’s how to write a recursive function” lesson. After that I add a few more lessons to explain recursion in different ways.
If at any point you feel like you understand how to write recursive functions, feel free to skip any or all of these lessons. You can always come back to them later if you need to.