+ 3
I find it easier using OOP for cases where the data the behavior (Methods) are connected and while the data doesn't has a strong connection to the behavior I think it's easier to use functional programming. FP also considered more efficent than OOP for example: Working with files - a file has data (etc name , owner and r/w propeties). I find it easier to work with OOP. Calculating math problems (like Spy Number Challenge)- I prefer functional programming because of simplicity and efficency.
15th May 2018, 7:58 PM
Jack
Jack - avatar