3 ms·
F# can be a nice language even if you don't care for the functional paradigm. Discriminated Unions and pattern mactching still come in handy, the syntax is sti
by jackmott 10y ago
F# can be a nice language even if you don't care for the functional paradigm.
Discriminated Unions and pattern mactching still come in handy, the syntax is still less verbose, there is less biolerplate/ceremony than in C# where everything has to be in a class.
it is easier to pass a function to a function than in C#
inlining functions is easier
the type inference can be useful in various ways.
if/then/else statements being expressions is extremely nice.
I tend to code in a mostly imperative style, even in F#. I understand it better, it usually performs better.