4 ms·
From a practical point of view, mixing in behavior and implementing via encapsulation is usually easier to maintain and extend than inheritance.
by EGreg 13y ago
From a practical point of view, mixing in behavior and implementing via encapsulation is usually easier to maintain and extend than inheritance.