Kotlin fixes a series of issues that Java suffers from:
a ? b : c
- replaced with if expression.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/docs/reference/comparison-to-java.html