Examining Kotlin: also, apply, let, run, and with

One of the things that puzzled me when I started with Kotlin was why there were so many similar functions which call lambdas on some objects and return a value. After many lines of code and many lines of user group discussions, I found out that they represent a small DSL for easier monadic-style coding. An explanation of this DSL and the intent of each function are missing from the Kotlin documentation, so this article will hopefully shed some light on them. There is also a short style...

What feeling does this article give you?
Joy
Disgust
Fear
Anger
Sadness

#hashtags to follow:

Kotlin [+]    DSL [+]   

More #news: