| ▲ | strix_varius 5 hours 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 3 hours ago | parent [-] | |
No, but I often see folks use it as a bludgeon for dogma. | ||