Dmitry Kandalov | KotlinConf 2024, May 22–24, Copenhagen
all speakers

Dmitry Kandalov

Dmitry Kandalov

Software Developer

Dmitry has been programming since DOS times. He spent the last 20 years or so in Java lands, most recently working with server-side Kotlin.

Refactoring to Expressive Kotlin

Kotlin was built from the beginning as an expressive language, but we still scratch our heads when reading some code, especially if it is trying to do something complicated.

Join Duncan and Dmitry as they examine code examples and use the power of the Kotlin language and IntelliJ to refactor them into code that reads as it works. We’ll learn how to express intent with the scope functions: let, run, with, apply, and also. We’ll see how defining our own extension functions allows code to flow, and move on to more advanced topics like separating pure from impure functions, cohesion, tiny types and domain specific languages.