The first part of the book introduces Kotlin program structures as well as conditional flow of control features such as if and when expressions as well as iteration loops such as for, while and do-while. Subsequent chapters explain how functions are implemented in Kotlin and introduce concepts from functional programming such as higher order functions and curried functions.
Clear steps are provided explaining how to set up your environment and get started writing your own Kotlin programs.
An important aspect of the book is teaching by example and there are many examples presented throughout the chapters. These examples are supported by a public GitHub repository that provides complete working code as well as sample solutions to the chapter exercises. This helps illustrate how to write well structured, clear, idiomatic Kotlin to build real applications.
John Hunt is a technology trainer, consultant, mentor and author who nearly 40 years’ experience within the computing industry. He has worked extensively in Object Oriented and Functional technologies using language from Python through Java to Kotlin. John was first involved with Kotlin while working with a FinTech company in 2016. Since then, John has seen the interest in Kotlin grow and grow and in recent years has found numerous clients have been turning from Java to Kotlin both for server side and Android mobile applications.