News for hackers. Stuff that matters.
Re:Instance Model Programming in C by Someone on Monday November 25, 2013 @05:15PM (#6797461)
That is far from an uncommon idea. The phrase to search for to learn more about this is "Composition over Inheritance". That leads you to e.g. http://en.wikipedia.org/wiki/Composition_over_inheritance or, combined with "site: c2.com" to http://c2.com/cgi/wiki?CompositionInsteadOfInheritance or http://c2.com/cgi/wiki?UseCompositionAndInterfacesWithoutCla....

In some sense, deep inheritance hierarchies were a thing of the 80's, when inheritance was new (at least, in the mainstream), just like the <blink> tag was a thing of the '90s (or was that the 00's?). Now, deep hierarchies are a code smell.

Re:Instance Model Programming in C by pjmlp on Tuesday November 26, 2013 @12:25AM (#6799324)
80's!?!

OO only started to get into the enterprise in the 90's.