Part 1: Functional Programming Paradigm Essentials
In this part, we will take a look at what the functional programming paradigm entails. We’ll look at how it compares to the traditional object-oriented approach, and learn some language design differences between programming languages in each paradigm. We’ll also discuss what it means for Go to be a multi-paradigm language and see how this benefits our use case. Finally, we’ll look at some key ideas in functional programming, which we can leverage to write more readable, maintainable, and testable code.
This part has the following chapters:
- Chapter 1, Introducing Functional Programming
- Chapter 2, Treating Functions as First-Class Citizens
- Chapter 3, Higher-Order Functions
- Chapter 4, Write Testable Code with Pure Functions
- Chapter 5, Immutability