Hello world kotlin program turned into a rabbit hole that lead to lambdas

12 Sep 2019

Playing with a few kotlin koans to get familiar with the language.

My approach here is making the koan test/s pass, then looking into the documentation and writing notes on some of the new concepts covered. I know very little about kotlin right now so will be explaining most things. Starting from the Hello World Koan

Function that returns "OK"

fun start(): String = "Ok"

Function declaration documentation