3 ms·
> as a paradigm, FP solves problems that only experienced programmers realize they have This is exactly what I've been saying... and it's the essence of the "F
by pmarreck 11y ago
> as a paradigm, FP solves problems that only experienced programmers realize they have
This is exactly what I've been saying... and it's the essence of the "FP non-adoption problem." I came to FP because I became frustrated with classes of bugs that appeared over and over again in OO (Ruby, in my case) but which seem to plague FP code much less. In essence, I came to reduce labor/increase productivity; it's "laziness/impatience/hubris" all over again.
One indicator that I was "naturally" coming to FP is that I noticed I was writing Ruby code in a very functional style. I say "naturally" because 1) it made it easier to test 2) it reduced spaghetti code and dependencies 3) it made it more modular 4) it reduced side effects and bug generation. And all of these worked together to just make better code, period.
Then I came across Elixir (http://elixir-lang.org/ http://elixir-lang.org/) and lo and behold, now I can't wait to find work in this shiny new FP language.
If most people in a career came to prefer a certain paradigm after 10-20 years in that career, shouldn't everyone in that career be taking a serious look at it?