Design
Composition vs Inheritance
In most object-oriented code inheritance is perhaps the most fundamental technique of object reuse, but it has several flaws. Object composition is much more robust, and often more appropriate but still hasn't become popular. I beleive that this can be attributed to the fact that object composition is more verbose than it needs be. I propose the introduction of a new feature to modern OOPLs to alleviate this: delegation of interface implementation.Related Reading
More Insights
INFO-LINK
To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy. | |