3 ms·
I think a wrinkle on what you're saying, though, is that many "mainstream" languages are adapting (or have adapted) functional programming features. Swift and
by jimbokun 8y ago
I think a wrinkle on what you're saying, though, is that many "mainstream" languages are adapting (or have adapted) functional programming features.
Swift and Rust pull in a lot of functional programming features.
Programming Java 8 feels surprisingly functional, in a lot of ways.
Clojure allows you to experience even more of the functional programming experience (albeit with dynamic typing) on the JVM.
"Javascript the Good Parts" showed that Javascript best practices generally follow a functional programming mindset.
Having said that, if you want the full functional programming experience (first class functions, immutable data structures, isolated side effects, sum|union types, etc.) then yes, what you say is true. The amount of libraries and size of the community for Haskell and the ML family just don't compare to the more mainstream languages.
- nightski 8y agoThe most distinguishing factor of Haskell is not it's functional programming features, but rather it's very flexible and powerful type system. You won't see that pulled in by the mentioned languages any time soon.