hmm, not so sure I agree to that extent.
[To me,]
FP is more about nobody owning the data. Everything operating on all the data. (Mostly) All data exposed and accessible.
OOP is about certain classes owning data and limiting exposure to that data.
[To me,]
FP is more about nobody owning the data. Everything operating on all the data. (Mostly) All data exposed and accessible.
OOP is about certain classes owning data and limiting exposure to that data.
Maybe my point is better articulated by saying [to me,] functional programming is more data oriented than OOP.
???
OO is different because you have things like private variables. Meaning that only methods of an object's class can access the variable. So you now have a special group of functions that can access the variable. FP is not like that.