Hacker News new | ask | show | jobs
by UK-Al05 2330 days ago
Frankly, that's because C# doesn't support proper discriminated unions in a concise way.

F# is a lot better at using result types. You don't even need to specify the return type.