Re:Inheritance was invented as a performance hack
by galangalalgol on Thursday April 29, 2021 @11:01PM
(#26989466)
The best practices I've read mostly say that inheritance should be limited to one non-interface parent. I.E. obly one parent with an invariant. For everything else composition. That mostly lines up with my experience, but I mostly deal with problem spaces that aren't terribly OO like DSP.
[ Parent
| on HN ]
There are no comments on this comment yet.