News for hackers. Stuff that matters.
Re:How Can We Achieve Age Diversity in Silicon Valley? by falcolas on Monday October 19, 2015 @11:32AM (#10413514)
> Out of interest what do you mean?

"Shaking the tree" in this context means re-building the entire inheritence model when a new object is added to the tree. Any time the new object is not a leaf node, or it requires behavior from two non-direct ancestors, the inheritance tree must be "shaken" to re-order the inheritance such that the new node gets the behaviors as its ancestors, while avoiding things like diamond inheritance.

The (overly simplistic) example is placing the platypus in the inheritance tree to account for its characteristics in common with two otherwise distinct parent classes (birds/reptiles & mammals).

There are no comments on this comment yet.