Black Friday — Promotion
Ends in ::
Get complete and immediate access to a Pro Yearly subscription with all benefits for just $399 for your first year — or lock in for two years for $599
Who is this for?
This book is for Kotlin engineers who want to learn functional programming to solve complex problems in a fun, practical, hands-on way.
- What is functional programming and what are the benefits.
- The fundamental concepts of functional programming, such as pure and higher order functions.
- Functional data structures and how to use them.
- The Kotlin language features that help us apply the functional programming paradigm.
- How to use functional programming to manage errors and state changes in real-world applications.
- Some of the libraries and tools available to make getting started with functional programming a breeze.
Functional programming is a powerful paradigm for building your applications. This book will teach you the fundamentals of functional programming in a practical, hands-on way, while showing you how you can safely handle errors and state changes in your programs.more
Functional programming is a powerful paradigm for building your applications. This book will teach you the fundamentals of functional programming in a practical, hands-on way, while showing you how you can safely handle errors and state changes in your programs.
Before You Begin
This section tells you a few things you need to know before you get started, such as what you’ll need for hardware and software, where to find the project files for this book, and more.
Section I: Functional Programming Fundamentals
This is the very start of your functional programming journey. Here, you’ll learn what functional programming is and why it’s useful as well as its fundamental concepts. Using hands-on examples every step of the way, you’ll discover pure functions, higher-order functions, composition and so much more!
Section II: Data Types & Typeclasses
In this section, you’ll learn some of the types you see when using functional programming. You’ll see concepts you likely already know, like “List” and “Optional”, while discovering some of their very important properties as they relate to functional programming.
Section III: Functional Programming in Practice
Time to put all that knowledge to work. In this section, you’ll use all the principles you’ve learned so far to see the functional programming way for handling errors and managing state changes. You’ll also meet some libraries you can use in your projects to quickly introduce functional programming.
This book has many exercises and challenges throughout. In this appendix, you’ll find solutions to all exercises and challenges, along with additional explanations about the answers.