Re:What's new in Java 12, 13 and 14
by kod on Tuesday December 17, 2019 @08:57AM
(#21813431)
Kotlin doesn't have real pattern matching.
[ Parent
| on HN ]
Re:What's new in Java 12, 13 and 14
by lllr_finger on Tuesday December 17, 2019 @09:02AM
(#21813477)
It doesn't, but at least 'when' statements will be exhaustive when working with sealed classes - which is a breath of fresh air if you enjoy working with sum types and pattern matching.