News for hackers. Stuff that matters.
Re:Ask HN: Three Uses of Inheritance? by sargstuff on Wednesday March 22, 2023 @10:39AM (#35261738)
per "3" : Encapsulation, Composition, and Inheritance

"inheritance" types: single, multiple, multi-level, multi-path, heirarchical, hybrid

Re:Ask HN: Three Uses of Inheritance? by rents on Wednesday March 22, 2023 @11:28PM (#35270207)
nah, it was something like when to apply inheritance. One : Use it for code re-use to abstract out common code. There were 2 others.