3 ms·
Count me mostly a hater. OOP as typically done (C++, Java) is bad for two reasons: 1. Heavy use of reference semantics prevents local reasoning about code. 2.
by tayistay 6y ago
Count me mostly a hater. OOP as typically done (C++, Java) is bad for two reasons:
1. Heavy use of reference semantics prevents local reasoning about code.
2. Inheritance is really brittle. A subclass can break superclass invariants.
I don't think anyone really contests either of those... it's just a matter of how much you can put up with.