| ▲ | gishh 11 hours ago | |
> This contrasts inheritance as a “white box” form of reuse, because the inheriting class has full visibility over the implementation details of the inherited class; with composition as a “black box” form of reuse, because the composing object only has access to the interface of the constituent object. So, we just need devs to stop trying to be overly clever? I can get behind that, “clever” devs are just awful to work with. | ||