Functional Programming in Kotlin
- 9h 21m
- Marco Vermeulen, Paul Chiusano, Rúnar Bjarnason
- Manning Publications
- 2021
Master techniques and concepts of functional programming to deliver safer, simpler, and more effective Kotlin code.
In Functional Programming in Kotlin you will learn:
- Functional programming techniques for real-world applications
- Write combinator libraries
- Common structures and idioms in functional design
- Simplicity and modularity (and fewer bugs!)
Functional Programming in Kotlin is a reworked version of the bestselling Functional Programming in Scala, with all code samples, instructions, and exercises translated into the powerful Kotlin language. In this authoritative guide, you’ll take on the challenge of learning functional programming from first principles. Complex concepts are demonstrated through exercises that you’ll love to test yourself against. You’ll start writing Kotlin code that’s easier to read, easier to reuse, better for concurrency, and less prone to bugs and errors.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Improve performance, increase maintainability, and eliminate bugs! How? By programming the functional way. Kotlin provides strong support for functional programming, taking a pragmatic approach that integrates well with OO codebases. By applying the techniques you’ll learn in this book, your code will be safer, less prone to errors, and much easier to read and reuse.
About the book
Functional Programming in Kotlin teaches you how to design and write Kotlin applications using typed functional programming. Offering clear examples, carefully-presented explanations, and extensive exercises, it moves from basic subjects like types and data structures to advanced topics such as stream processing. This book is based on the bestseller Functional Programming in Scala by Rúnar Bjarnason and Paul Chiusano.
In this Book
-
Foreword
-
About This Book
-
What is Functional Programming?
-
Getting Started with Functional Programming in Kotlin
-
Functional Data Structures
-
Handling Errors without Exceptions
-
Strictness and Laziness
-
Purely Functional State
-
Purely Functional Parallelism
-
Property-Based Testing
-
Parser Combinators
-
Monoids
-
Monads and Functors
-
Applicative and Traversable Functors
-
External Effects and I/O
-
Local Effects and Mutable State
-
Stream Processing and Incremental I/O