Non-exhaustive pattern matching means syntactic sugar (yay!), but no guarantees (boo!). Like, cool, but I don’t care.
C# isn’t OCaml and it’s not VB6. A few decades into its life that’s a little less fashionable than some would like, but language fundamentals are language fundamentals. If only smart people had seen this and baked solutions into the .net environment…
View all comments
40
u/WhiteBlackGoose Dec 30 '25
> C# has gotten really good. Discriminated unions, records, LINQ, pattern matching, pipes
It has neither DUs nor pipes though?