|
|
|
|
|
by Mouse47
2602 days ago
|
|
Agreed. The article that opened my eyes to this shows (IMO) a serious deficiency in C#'s type system compared to F#'s, which includes the concept of tagged-union types. It shows a very simple shopping cart program that can't be modeled cleanly in c# without using the visitor pattern....which is difficult to read IMO. https://fsharpforfunandprofit.com/csharp/union-types-in-csha... |
|