News for hackers. Stuff that matters.
Re:IT Runs on Java 8 by Mouse47 on Saturday May 11, 2019 @07:48PM (#19889129)
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...

There are no comments on this comment yet.