News for hackers. Stuff that matters.
Re:Goodbye, shitty "Car extends Vehicle" object-orientation ... by jeffreymcmanus on Monday August 22, 2011 @09:01PM (#2914850)
Code savings isn't a reasonable goal of OOP. Information-hiding (in which you take an arbitrarily-complicated method and abstract it behind a class) is.
Re:Goodbye, shitty "Car extends Vehicle" object-orientation ... by fleitz on Monday August 22, 2011 @09:27PM (#2914927)
When you give people inheritance all they see is hierarchies and when you give them information hiding systems all they see is access control.

One should not be able to find trade secrets by grepping for "private", nor reproduce a companies org chart by a class inheritance graph.