16 Aug 2017
This only works on Kotlin 1.1.4 or above. There is a bug exist before that.
Annotations and reflection always come in handy when you try to avoid boilerplate. Today I am going to get all the fields marked by a custom annotation, and put its value into a map.
28 Jul 2017
As Kotlin is a much better language to write than Java (it also compatible with Java), I try to write a library in Kotlin and compile as a artifact(.jar). My project is a Gradle project and use Intellij IDEA as IDE. However, it is difficult to find a tutorial that works.
24 Jul 2017
The first half of 2017 has past. I learnt several new languages: Python, Swift and Kotlin. Despite I only experience them for a short period of time, I am going to talk about them and compare to the languages that I familiar with (i.e. C#, Java).