Book Image

Functional Kotlin

Book Image

Functional Kotlin

Overview of this book

Functional programming makes your application faster, improves performance, and increases your productivity. Kotlin supports many of the popular and advanced functional features of functional languages. This book will cover the A-Z of functional programming in Kotlin. This book bridges the language gap for Kotlin developers by showing you how to create and consume functional constructs in Kotlin. We also bridge the domain gap by showing how functional constructs can be applied in business scenarios. We’ll take you through lambdas, pattern matching, immutability, and help you develop a deep understanding of the concepts and practices of functional programming. If you want learn to address problems using Recursion, Koltin has support for it as well. You’ll also learn how to use the funKtionale library to perform currying and lazy programming and more. Finally, you’ll learn functional design patterns and techniques that will make you a better programmer.By the end of the book, you will be more confident in your functional programming skills and will be able to apply them while programming in Kotlin.
Table of Contents (22 chapters)
Title Page
Copyright and Credits
Packt Upsell


About the authors

Mario Arias is a software engineer and Spring certified instructor with more than 12 years of experience in software development and design, databases, training material design, and training delivery. He currently works as a software engineer in Manchester, UK, for Cake Solutions Ltd., a BAMTECH media company.

Mario is well-known member of the Kotlin community and is part of the Arrow team, the group that developed and maintains the Arrow functional library. In his free time, he rides his bicycle and trains Brazilian Jiu-Jitsu.

My first and the most important acknowledgement is to my Lord and Saviour, Jesus Christ. Thanks to my soon-to-be wife, Ari, for her continuous support and patience. To my family and friends. Thanks to the JetBrains team for creating a fantastic language, my teammates at Arrow, to my co-author, Rivu Chakraborty, and the entire team at Packt.

Rivu Chakraborty is a instructor, Google Certified Android Developer, and senior tech member of Institute of Engineers (India). With more than 5 years of experience, he is currently working as a senior software engineer (Android) at Indus Net Technologies Pvt. Ltd.

Rivu is a Kotlin and Android enthusiast and a Kotlin evangelist. He has been using Kotlin for more than 2 years. Rivu is the founder organizer of Kotlin Kolkata UG. He is also a core organizing team member of GDG Kolkata. Rivu has previously authored, Reactive Programming in Kotlin, and is working on two more books on Kotlin.

Thanks to my parents; my wife, Esha; and my son, Rishaan; for having my back and trusting me. Thanks to the Kotlin Kolkata community for inspiring me to write books and sharing my knowledge. Thanks to the reviewers of this book for their valuable feedback and inputs. Thanks a lot to my co-author, Mario Arias, for writing this book with me. I've learned a lot from him.

About the reviewer

Ganesh Samarthyam is a co-founder of CodeOps Technologies, a software technology, consultancy, and training company based in Bangalore. He has 16 years of experience in the IT industry, and his latest book, Refactoring for Software Design Smells: Managing Technical Debt by Morgan Kaufmann/Elsevier, has been translated to languages like Korean and Chinese. Ganesh loves exploring anything and everything about technology in his free time.




Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.