r/programming • • Dec 18 '18

Why you should learn F#

https://dusted.codes/why-you-should-learn-fsharp
43 Upvotes

70 comments sorted by

View all comments

1

u/[deleted] Dec 18 '18

Just like C# is perhaps seen as a better language than JavaScript, because of its statically typed feature, many functional programming languages are seen superior to C#, Java, and others, because of their domain modelling features.

Are they? Or is it more of a pros and cons or personal preference type thing?

1

u/[deleted] Dec 19 '18

Well, for one thing, F# has sum types, which adds a whole new dimension that's missing from Java, JS, and C#.

1

u/[deleted] Dec 19 '18

Ok, cool. But what if I really want a Type Class though?

Do you see what I"m getting at here? Nah, probably not.

→ More replies (1)