loading...

re: Hierarchy of else if compression VIEW POST

FULL DISCUSSION
 

Personally, I love Kotlin's style of when (x) control flow. Don't have to worry about noFallthroughCasesInSwitch as well.

Not sure about the optimization and how does it compare to pattern matching, though.

Code of Conduct Report abuse