4 ms·
Why are you making this distinction between composition and interfaces? Just because you're using interfaces does not mean you aren't doing composition. > Inte
by Capricorn2481 3y ago
Why are you making this distinction between composition and interfaces? Just because you're using interfaces does not mean you aren't doing composition.
> Interfaces (via aspects, aspects, traits, whatever) tend to simplify, when the complexity is quantitatively extensive enough to outweigh the cost of the interface complexity creation + the complexity saved by using the interface.
That sentence is more complicated than anything that has been done with composition.