|
|
|
|
|
by lyu07282
684 days ago
|
|
Same for me in the Scala vs. Java world, it's hard once you get used to how awesome expressions over statements and algebraic data types/case enums/"discriminated unions" are. But I haven't done much C# (yet) myself, could you clarify for me: does C# have discriminated unions? I didn't think the language supported that (only F# has them)? |
|
https://github.com/dotnet/csharplang/blob/main/proposals/Typ...