When I prefer use when then if-else in Kotlin
TL;DR     if-else for simple cases with only one conditions or to use early returns...
Tags: kotlin, programming, cleancode