Ever since Google announced in their developer conference Google I/O 2017 that Kotlin will be an official development language for Android, the popularity of the language has skyrocketed. There are a few reasons for the immense success of this relatively new language. The primary one is the complete interoperability with Java, since Kotin compiles to Java bytecode and runs on the JVM. All of this means that everyone is looking to learn Kotlin. So, here at Courservo, we have curated some of the highly recommended Kotlin books so that you can choose the best Kotlin book that fits your needs. Also, check out our post on the best Kotlin tutorials if you are looking to dive deep into the language.
But before we go further, I would highly recommend you to check out our post on how to learn any programming language productively.
The Best Kotlin Book Overall (Our Pick) – Kotlin in Action
Authors: Dmitry Jemerov, Svetlana Isakova
Kotlin in Action is our pick for the best Kotlin book. It is written by Dmitry Jemerov and Svetlana Isakova, both developers on the Kotlin team over at JetBrains. This is one of the most comprehensive books on Kotlin and is suitable for developers at all levels, from novice to experts. And if you come from a Java background, then this is the perfect book for you. Furthermore, the book dives deep into interesting topics like building DSLs with natural language syntax. The book is divided into two parts:
- Part 1 explains how to get started using Kotlin together with existing libraries and APIs
- Part 2 teaches you how to build your own APIs and abstractions in Kotlin and covers some of the language’s deeper features
The Best Kotlin Book for Android Developers – Kotlin for Android Developers
Author: Antonio Leiva
Antonio Leiva’s Kotlin for Android Developers is a no-brainer if you want to get into Kotlin to build Android applications. This book is recommended by both Google and JetBrains and it is suitable for Kotlin beginners with some knowledge of Java and Android Studio. The book allows you to learn the language by examples, as you would be creating an Android app from the ground up using Kotlin as the development language. All in all, this one is a very practical book to learn Kotlin. Also, don’t forget to check out Leiva’s blog, he has some very cool free Kotlin resources there.
The Best Kotlin Book for Server Side Development: Programming Kotlin
Authors: Stephen Samuel and Stefan Bocutiu
Programming Kotlin is a book by Stephen Samuel and Stefan Bocutiu about using Kotlin on the JVM. It mainly focuses on the server-side implementation of the language. The book is suitable for intermediate or expert Java developers trying to get into Kotlin. It will teach you how to use lambdas and higher order functions to write clean, reusable, and simple code. While this is another great resource to learn the language, readers should have some level of expertise in Java development to understand and enjoy the book
The Best Kotlin Book for Web Development: Kotlin Blueprints
Authors: Akshay Chordiya, Ashish Belagali and Hardik Trivedi
The Best Kotlin Book for a quick read: Fundamental Kotlin
Author: Milos Vasic
If you are wondering what the hype is all about, and really want to have a quick dive into the language and its comparisons with Java, this is the book for you. The book is focused on Kotlin’s most important features and aspects and it doesn’t go too much into the theory. Short and precise, this book is a great introduction to Kotlin for beginners.
If you like a “hands-on” learning, try Kotlin Koans online to get familiar with Kotlin.
YouTube: This search for “Kotlin on Android” provides a variety of high-quality technical talks. Additionally, do follow @kotlin, the official Twitter handle and Kotlin Slack, the Slack community for Kotlin users.
And of course, for those who love podcasts, Talking Kotlin is a bi-monthly podcast on Kotlin and more.
Also, have a look Keddit: Learn Kotlin while developing an Android App, an excellent 11-part series by Android developer Juan Ignacio Saravia in which he develops a Reddit clone app. The tutorial covers a vast number of topics ranging from setting up the workspace to using APIs and even unit testing. The code is available on GitHub.
Similarly, Antonio Leiva’s Blog is one of the popular Kotlin blogs out there. Updated regularly, Leiva’s blog is a great free resource for all things Kotlin.
Additionally, if you really want to take a deep dive, follow this rabbit hole
Have fun learning Kotlin.