▲ | wiseowise 5 days ago | ||||||||||||||||||||||||||||||||||
> Slightly more verbose sum type declaration is worth it *when it makes using the cases cleaner.* Correct. This is not the case when you talk about Java/Kotlin. Just ugliness and typical boilerplate heavy approach of JVM languages. | |||||||||||||||||||||||||||||||||||
▲ | ackfoobar 5 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
> Just ugliness and typical boilerplate heavy approach of JVM languages. I have provided a case how using inheritance to express sum types can help in the use site. You attacked without substantiating your claim. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
▲ | gf000 5 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
You mistyped "backwards compatible change" going back to close to 3 decades. |