3 ms·
Isn't this the approach the article is recommending against? Prefer composition over inheritance.
by goto11 4y ago
Isn't this the approach the article is recommending against? Prefer composition over inheritance.
- wizofaus 4y agoThe logging target may be a property that is part of the composition of the logger itself, but it would still need to support interface- or abstract-"inheritance" (even if via duck-typing) to be useful.