3 ms·
I have heard is said that both OOP and functional design are best applied only about 80% of the time. More than that and you are overfitting the method to thing
by celeritascelery 4y ago
I have heard is said that both OOP and functional design are best applied only about 80% of the time. More than that and you are overfitting the method to things where it applies poorly.
- pencilguin 4y agoEvery big enough system has a few parts that would fit OOP, and a few parts that would fit FP. If your language supports those, then great, use those for them. The overwhelming majority of problems do not fit OO, and using OOP on them makes a mess. Similarly, FP.