Session

7 ± 2 Kotlin Features That Can Work For or Against You

In this live coding session, I’ll walk through Kotlin features that can work for or against you. For each one, we’ll show the problem it solves, the simple usage, side effects or gotchas, and then an advanced use case, using Jupyter notebooks for live coding.

Live coding session includes features like:
* getOrNull and getOrElse for safe collection access
* as? for safe casts
* require, check, checkNotNull, and error for assertions in the code
* runCatching for dealing with exceptions
* functions as types: when Java Frameworks such as Spring expect more than a Lambda, and how functional interfaces can help

Elena van Engelen

Independent Senior Software Engineer

Vught, The Netherlands

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top