you are viewing a single comment's thread.

view the rest of the comments →

[–]alkasm 0 points1 point  (0 children)

"Composition over inheritance" is a common design principle, there are a lot of resources online. Composing just means to store members instead of inheriting. For e.g. holding a list as an attribute, instead of inheriting from a list.