I am encouraging my colleagues to use Kotlin, and ...
# getting-started
d
I am encouraging my colleagues to use Kotlin, and to do Kotlin Koans. While in some cases it is fine, in some others I find some pushback asking for how long will Koans completion take. Is there some kind of ‘official’ estimation or someone could share how long it took for them to do?
I cannot really reply as I did them long ago, but maybe someone who did them recently recalls more or less how long it took
also providing some rough time estimation, even if it is an interval, like Google Codelabs does would be nice (https://codelabs.developers.google.com/codelabs/java-to-kotlin/?linkId=70261951#0)
t
Well, Koans are meant to be exercises to learn Kotlin, not fast tutorials. While doing all Koans took me around an hour, not two persons learn at the same pace ; some may take 15 minutes, while others would take hours (or even days, in case this is a busy developer that can only focus on Kotlin a few minutes per day) Tell you colleagues that solving puzzles is one of the funniest way to learn a programming language, so they should not focus on the time to complete them ; plus, learning Kotlin really worth the investment 😉 K
👍 2
a
BTW they have a new version of the interface at https://play.kotlinlang.org/koans/overview and they claim that:
According to our surveys, Kotlin Koans is one of the most popular and most effective ways to get into Kotlin for people who already know Java. In just a few hours, you’ll feel able to write idiomatic Kotlin code.
As far as I remember, it did take me just a couple of hours to complete everything. But I was already familiar with Kotlin, I just wanted to see if I’m missing some cool feature. But I also did dig around more than just do what the instructions say.
👍 2
d
thanks for your help, I agreed with management that Koans are the way to go, so every Android developer will do them 🙂 K
hopefully the developers who are saying ‘do I need to learn Kotlin?’ switch to ‘do I still need to use Java?’ as I have seen in some other cases
a
I think that, at least on Android, that should be very likely 😉
Especially if the codebase is Kotlin only, having to maintain Java code is not as great of experience