Scala and C# Approaches to Union Types

I’ve been learning Scala lately, and it turns out that scala union types are sometimes implemented the same way I discovered unions could be imitated in C#.

June 1, 2023 · 3 min

Data Inheritance is Unnecessary

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 this demonstrates that inheritance for data types is unnecessary when actions and data are separated, and it may hint at a larger trend in programming languages.

May 18, 2023 · 3 min