Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Repeated Deaths of OOP (2015). Parent comment
Your definition is closer to what the Template Method pattern [1] is, rather than inheritance in general.
Keep in mind also that neither inheritance itself nor the Template Method pattern guarantee encapsulation.
[1] https://en.wikipedia.org/wiki/Template_method_pattern
There are no comments on this comment yet.
Your definition is closer to what the Template Method pattern [1] is, rather than inheritance in general.
Keep in mind also that neither inheritance itself nor the Template Method pattern guarantee encapsulation.
[1] https://en.wikipedia.org/wiki/Template_method_pattern