3 ms·
OOP gives excellent benefits as concerns scope control, and since many of us are suffocating to death under overwhelming scope, there's a win. As for the handw
by kerblang 4y ago
OOP gives excellent benefits as concerns scope control, and since many of us are suffocating to death under overwhelming scope, there's a win.
As for the handwaving about simulation & modelling and We Must Design The Matrix and all that nonsense... not applicable to most programming.
- bluefirebrand 4y agoYou're probably not suffocating under scope, you're suffocating under State. OOP helps encapsulate state to make it more manageable. I am starting to reject OOP because I find working at reducing state is much more fruitful than encapsulating it.
- kaba0 4y agoReducing state and OOP is not against each other, I believe FP+OOP is a good match. Many problems are data-oriented where FP is hands down better, but I think OOP helps exactly at the side-effecting edges.