Learning Recursion is a new Kindle ebook from Alvin Alexander, acclaimed author Scala CookbookFunctional Programming, Simplified (one of the most highly-rated FP books, ever)Learn Functional Programming Without FearLearn Scala 3 The Fast Way! The lessons in this book are based on the new version of Functional Programming, Simplified that he’s currently rewriting in early 2023. If you’ve already signed up for the early releases of that book, you’ll have these lessons.
In this book, Mr. Alexander brings his well-known, simple teaching style to the topic of recursion, also known as recursive programming. In the book you’ll learn how to write functions that call themselves. He covers the basics of recursion, and then covers the important topic of tail recursion.
The source code examples are written with the Scala 3 programming language, but he doesn’t use any special Scala techniques, so the code should be readable if you know other languages like C, C#, Java, Kotlin, Python, etc.