4 ms·
> And since FP is a style, it can be followed quite effectively in almost any language. It's not black and white. FP is more like a spectrum, with pure functio
by willtim 8y ago
> And since FP is a style, it can be followed quite effectively in almost any language.
It's not black and white. FP is more like a spectrum, with pure functional programming more towards the opposite end, just before total functional programming. Put another way, adding lambdas to Java does not make it like Haskell. Even Scala cannot effectively be used as Haskell substitute, as some in that community eventually realised.
It remains to be see how much of FPs benefits (composition, abstraction, reasoning) can be fully realised in languages with rampant side-effects and mutation.