News for hackers. Stuff that matters.
Re:The Case Against OOP Is Wildly Overstated by zozbot234 on Friday July 31, 2020 @03:06PM (#24012569)
"Abstract data types and non-exposed constructors" is enough to give you object-based code, which is not too far from a definition of "the good parts" of OOP. Though some could quibble that "object-based" doesn't include sensible ideas such as composition, interface inheritance, delegation etc.
Re:The Case Against OOP Is Wildly Overstated by chriswarbo on Friday July 31, 2020 @03:42PM (#24013021)
Classes can be used as modules, as namespaces, as datatypes, for encapsulation, etc. The problem is they're not particularly great at those things, and those concerns often become conflated.