What you are saying does not sound like any functional programming I know. I use FP for everything I can except for performance/efficiency critical sections. Because it makes testing, reuse, and maintenance easy.
Edit: It sounds like you are trying to apply OO principles like information hiding in your FP code. This is probably why it seems so copy-paste heavy to you. It also sounds like you are primarily criticizing Lisp. While this is certainly a capable FP language, there are many others with different (very practical) emphases. Check out this video and also this site to learn from someone who professes to write BLOBAs (Boring Line-Of-Business Applications) using FP.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I never said I didn't like it. I prefer it, in fact, it makes unit testing a breeze!
I never implied that functional programming was for only AI.
And yes when you restrict sharing state within functions, you reuse logic. Essentially using the cut/paste design pattern ;).
However, as we both agreed, it is not the end all be all paradigm we should flock to for all of our programming needs.
What you are saying does not sound like any functional programming I know. I use FP for everything I can except for performance/efficiency critical sections. Because it makes testing, reuse, and maintenance easy.
Edit: It sounds like you are trying to apply OO principles like information hiding in your FP code. This is probably why it seems so copy-paste heavy to you. It also sounds like you are primarily criticizing Lisp. While this is certainly a capable FP language, there are many others with different (very practical) emphases. Check out this video and also this site to learn from someone who professes to write BLOBAs (Boring Line-Of-Business Applications) using FP.