Functional-Programming

Why Use Functional Programming When OOP Exists?
OOP is 50+ years old. Classes, objects, inheritance — it works, everyone knows it, almost every popular language supports it. So why are people talking about functional programming like it’s some revelation? Because OOP is great at modelling things. FP is great at modelling transformations. Most real software has both, and conflating the two is where the confusion starts. What Is Functional Programming, Actually? Not “functions inside a class.” That’s just OOP with functions.