Hacker News new | ask | show | jobs
by WorldMaker 54 days ago
I think that's getting better in C# with record types (and primary constructors in general). Real Discriminated Unions should help a lot, and that's finally in Language Preview now.