News for hackers. Stuff that matters.
Re:Inheritance versus Composition by michalrichards9 on Thursday May 09, 2019 @01:43PM (#19870399)
My little rule of thumb is to inherit if the new implementation is a 'pure' over the inherited class. That is, I'm not introducing any _new_ changes to the state of the class.

There are no comments on this comment yet.