DEV Community

Discussion on: Does functional programming have any advantage in real environments?

Collapse
 
mojo2012 profile image
Matti

I've yet to see a valid use case for it (full stack ecommerce developer, java, groovy, typescript).
There are two main points that bother me so far: it's really hard for most people. It's even harder to find good functional developers.
People tend to be more attracted to easier ways, hence it's not popular.
Secondly, it's a bit like domain driven design. It all sounds nice, and in a perfect world it could be so much better than what most people do. BUT, it's so easy to f**k it up. Way easier than regular old school development styles (like service based architecture).
Same goes for functional development. It makes sense for the one developer. The next one reads the code an only sees gibberish.
I think functional development is closer to the "physical" wiring of the developers brain. Therefore it's way harder for another developer to understand it and be able to continue this work. After some time it end's up in a huuuge junk of sh*t.