In the FP world, we like to make fun of OOP because there is no single, proper definition ("since it is some made-up thing"). But then ask 10 devs or functional devs what functional programming is, and there is no consensus either.
I've been doing functional programming – not even just that – I've been doing functional programming propaganda ("art") for a bit more than 10 years. The last couple, I've been struggling to pinpoint what it is and what draws me to it.
At this point, I'm happy with the distillation that I've done, and it was a very fun journey, so let's talk about it.
base definition
Let's start with wikipedia (of all places): https://en.wikipedia.org/wiki/Functional_programming .
In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions .…