Scala Enums and C# Union Similarity
I’ve been learning Scala lately, and it turns scala union types are sometimes done the same way I discovered for C#.
I’ve been learning Scala lately, and it turns scala union types are sometimes done the same way I discovered for C#.
In short, I’ve been using F# for several years now and didn’t realize that F# record types can’t be inherited. I think that says inheritance with data members is unnecessary.