News for hackers. Stuff that matters.
Re:Pretending OOP Never Happened by zozbot234 on Friday May 15, 2020 @01:05PM (#23194535)
> If the data structure got messed up (put in an inconsistent state, say), you had no idea what code was responsible. With OOP, you look at the class's member functions, which is a much smaller set.

Yes this is correct. But data abstraction and encapsulation are found in all object-based code; they're not specific or related to OOP.

Re:Pretending OOP Never Happened by AnimalMuppet on Friday May 15, 2020 @01:26PM (#23194784)
I'm not sure I understand. In your view, what is the difference between "object-based code" and OOP?
Re:Pretending OOP Never Happened by kingdomcome50 on Saturday May 16, 2020 @12:20AM (#23200465)
Simply using objects in the code doesn't mean one is practicing OOP any more than using functions means one is practicing FP.

That is, it is more about the "how" than the "what".