Avoid cascading if-else in Kotlin Kotlin coding conventions denotes that we should prefer if for binary and when for three or more options. Continue reading on Kt. Academy » You Might Also Like New Project: CLI to transform Excel spreadsheets to JSON (in Kotlin) June 8, 2021 Why using Kotlin Coroutines? August 4, 2021 Pulumi Kotlin – The missing piece in Kotlin multi-platform November 13, 2023