|
>I'm in C#, and was pleasantly surprised that ImmutableList etc actually exist. C# has introduced many functional concepts. Records, pattern matching, lambda functions, LINQ. The only thing I am missing and will come later is discriminated unions. Of course, F# is more fited for the job if you want a mostly functional workflow. |
Back when I was more into pushing Haskell on my team (10+ years ago), I pitched the idea something like:
Those higher-order functions are a tough sell for programmers who only ever want to do things the way they've always done them.But 5 years after that, in Java-land everyone was using maps, folds and filters like crazy (Or in C# land, Selects and Wheres and SelectManys etc,) with some half-thought-out bullshit reasoning like "it's functional, so it must good!"
So we paid the price, but didn't get the reward.