upvote
That’s just fancy switch statement.
reply
Kotlin does not have inline destructuring in pattern matching.
reply
Pattern matching with only positional destructuring is a bad feature. I've written enough Scala to say this with confidence.
reply
[flagged]
reply