A friend of mine introduced me to the concept of functional programming this weekend. As someone who's been writing procedural PHP since before PHP supported objects and then gradually transitioned to an OOP-based mindset, the concept of functional programming is kind of blowing my mind.
@davidbhayes ' video on banishing loops with functional programming is a good primary on the basic concept.
I have some question:
- what are some of the main benefits?
- is it mostly about simplifying loops?
- any examples of projects that make good use of functional programming? github links?
- what are the main drawbacks? gotchas?
- Is OOP on its way out?
I haven't been this intrigued by a programming concept in a while. Super curiosu what the dev.to community thinks!