2 ms·
The reason OOP made it possible to do big stuff, seems tobe because it improved the average productivity of the average programmer. With procedural code, you w
by kumarvvr 7y ago
The reason OOP made it possible to do big stuff, seems tobe because it improved the average productivity of the average programmer.
With procedural code, you would need an exceptional programmer to produce a big program. With OOP, an average programmer can deconstruct a problem into its component parts and solve it, mainly because, the human brain can reason about concrete objects more easily, than say, abstract methods like functional programming.
Edit : OOP has encapsulation which, in my view, significantly reduces the cognitive load when thinking about state management in an app. I remwmber writing a small graphics library using Borland Graphics Interface in Turbo C++. It was a breeze to do because I know about 'things' I want on my screen and coded my classes to reflect those things.