3 ms·
Sure, but "favor x over y" or, put another way, "use y only if x is unsuitable" is compatible with this. Nothing in "prefer composition over inheritance" says t
by strix_varius 11mo ago
Sure, but "favor x over y" or, put another way, "use y only if x is unsuitable" is compatible with this. Nothing in "prefer composition over inheritance" says that composition is the only correct way.
- ChrisMarshallNY 11mo agoNo, but I often see folks use it as a bludgeon for dogma.