Learn how to leverage core functional programming (FP) concepts to write more maintainable and testable code in Go.
In “Functional Programming with Go”, you will learn the essential concepts of functional programming. Go is a multi-paradigm language that gives us the option to choose whichever paradigm works best for the particular problem we aim to solve. In this book, you will learn concepts central to the functional programming paradigm and how to leverage them to improve your Go codebases.
The book starts by explaining common concepts of functional programming and how to apply these to your codebase, even if you don’t fully buy into the functional mindset. The subsequent chapters of the book will build out a more comprehensive view of techniques and methods used in functional languages, such as Function Currying and Partial Application. We will develop this further into functional design patterns. Examples will be given throughout the book to show each concept “in action”.
By the end of this book, not only will you know how to apply these techniques in Go, but you will also know when to apply them.
If you are a Go engineer with a background in traditionally object-oriented languages such as Java or C++ and you want to broaden your knowledge of functional programming, this book is for you.