When I started with Kotlin in the spring of 2018, it had already been on my radar for a while. My reluctance to hang out on the bleeding edge and various other reasons kept me from diving into it before that.
Once I got started though, I haven’t really looked back, and it has quickly become one of my most favorite languages to program with. I feel like I find a new reason to love it more every day. I frequetly have people tell me they want to check it out, and ask for some jumping off points to get started.
That’s where this blog post comes in. These are the resources I used when I started learning Kotlin.
The Kotlin Koans
Koans, in general, are awesome. Unfortunately, the kotlin koans aren’t as polished as the Ruby Koans or the Python koans, but they’re still awesome and a great way to dive in and just start using the language.
You can go through the koans right in the browser, or you can clone the project from github and use it in your favorite IDE.
Kotlin in Action
The Kotlin in Action Book is great, and its written by two of the authors of the language. It not only explains how the language works, it also explains their goals and intentions with many of the features of the language. I can’t recommend this book enough.
if your into repls, kotlin has one that you can run from the command line, or you can run it right inside IntelliJ. I’ve used the REPL a bunch when trying stuff out, seeing what works and what doesn’t.
Fragmented Podcast with Hadi Hariri
This podcast is great. Hadi Hariri is on the JetBrains team and talks a lot about the goals, motivations and inspirations for using kotlin. This podcast series is focused on Android, so there’s a lot of Android discussion, but there’s still a LOT of non-android goodness you can get from it.
The kotlin documentation
Of course, you can always just look at the documentation
the kotlin subreddit
There’s always some lively conversation and links over at the kotlin subreddit
just try it
One the best things I’ve done so far, is to start converting soem of my java projects over to kotlin. Its super fast and easy to do with IntelliJ, and if you’ve got a good test suite, its also safe. Since kotlin is 100% interoperable with java, your *.kt files can live right next to your *.java files, and things will be just fine.
These are some other resources I’ve come across recently, and felt they would be a good addition to this list of resources.
Talking Kotlin Podcast
If you liked what Hadi had to say to the Fragmented guys, you’ll probably like the Talking Kotlin Podcast too.
8 ways to try out kotlin today
This blog post echos many of the resources in this post, but I thought I would include them here as well