Want Discriminated Unions in Kotlin? Use a Sealed Class 7 months ago (spin.atomicobject.com) 1 comment ingve Reply Add to library FrankWilhoit 7 months ago Discriminated unions are a terrible way to enforce type safety. They are a backport of a physical-data-modelling antipattern. Inheritance or GTFO.
FrankWilhoit 7 months ago Discriminated unions are a terrible way to enforce type safety. They are a backport of a physical-data-modelling antipattern. Inheritance or GTFO.
Discriminated unions are a terrible way to enforce type safety. They are a backport of a physical-data-modelling antipattern. Inheritance or GTFO.