Hacker News new | ask | show | jobs
by MrBuddyCasino 1018 days ago
Tried Kotlin native?

- sum types via sealed classes (not great, admittedly)

- enum "when" expressions are exhaustive

- option type via built-in nullable types (honestly the superior solution)