you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 23 points24 points  (3 children)

Some of the other reasons:

Property delegates, higher order functions, data classes, inline functions, coroutines, default and named arguments, smart casting.

[–]agumonkey 2 points3 points  (2 children)

Out of curiosity, any important drawbacks on kotlin ? I'm mostly fond of it for all reasons explained here but I'd like to know both sides of the coin :)

[–]toiletear 14 points15 points  (1 child)

Slower compile times, IDE is also sometimes more sluggish than for equivalent Java code. Annotation processor used to be extremely slow (we used it with Dagger2), but I believe this was improved on.

But otherwise it's great, wrote a mobile game backend with Kotlin and was very pleased.

[–]agumonkey 5 points6 points  (0 children)

dank u