top | item 29205844

(no title)

peterthehacker | 4 years ago

Look up any programming language popularity survey. Pure FP languages are substantially less popular, therefore less commonly understood and harder for the average dev to work with.

If FP was the norm, then you could make the same argument for OO.

discuss

order

dnautics|4 years ago

I started a poll on twitter. Now, obviously there is bias since my twitter audience is mostly FP people, but keep in mind:

- almost all experienced FP people "started in OO", or at least, imperative. So if they are picking map/reduce it is out of experience with the alternative.

- the split between bootcampers/informal and CS/formal is instructive: You can see that "bootcampers", who typically have less need for a low-level mental model of what the metal is doing, find that that for/while loops are harder on the brain than map/reduce:

https://twitter.com/DNAutics/status/1459348334007787526?s=20

rak1507|4 years ago

Pure FP languages may be less popular/common, that doesn't mean FP ideas are harder to understand. In stackoverflow's developer survey https://insights.stackoverflow.com/survey/2021 Clojure was the second most 'popular' language after Rust, and you could argue Rust draws heavily from FP styles too. Languages that are unquestionably OO or procedural, like Java and C, scored lower.