3 ms·
Exactly. OOP is: a) A code naming/organisational issue b) Some formalisation of structure, so that developers can specify what is/isn't allowed in their code.
by AndrewDucker 11y ago
Exactly. OOP is:
a) A code naming/organisational issue
b) Some formalisation of structure, so that developers can specify what is/isn't allowed in their code.
Both of thise have advantages and disadvantages, and the structure can be over-formalised and made too complex. But this doesn't make OOP bad. It makes bad design bad.
- jdminhbg 11y agoWell yes, when you redefine "OOP" to mean "well-organized code," then all well-organized code is object-oriented. That's not what people mean when they refer to OOP though -- they're talking about data+behavior encapsulation, inheritance, message-passing, etc.
- marcosdumay 11y agoOOP is not "well-organized code". It is a specific kind of code organization that derives a good part of its value from being universal.