Re:FP vs. OO, from the trenches
by chris-martin on Tuesday July 30, 2013 @03:02AM
(#6125686)
I don't think recursion itself is difficult for most people to learn. The hard part is translating recursive functions into procedures. The imperative coding is what makes it confusing.
I still don't understand why recursion is confusing to learn, as for me it was obvious from day one. Then again I am good at maths.
Additionally, I had lots of fun doing Caml and Prolog when I was at the university.
So even though I tend to do the typical boring enterprise JVM/.NET/C++ stuff, I do welcome the FP contamination of those ecosystems. :)
However on my last project, I had to rewrite some LINQ stuff back to plain imperative code, because few people on the team could manage it (LINQ). :(