.NET (OK, C#) gets union types | Hacker News
TL;DR AI
2 min readKey summary
C# is set to gain union types, expanding its type system with a long-requested language feature.
The feature will make it easier to model alternatives such as Either and other sum-type patterns.
Commenters also noted potential benefits for cross-language interfaces and interoperability.
The discussion compared the move with patterns long familiar in languages like F#.
