query: How to make choice between inheritance and composition?
positive_passages.docid: 1099
positive_passages.text: Prefer composition over inheritance?
negative_passages.docid: 6853
negative_passages.text: Interface vs Abstract Class (general OO)
negative_passages.docid: 24560
negative_passages.text: Python: Correct way to initialize when superclasses accept different arguments?
negative_passages.docid: 8373
negative_passages.text: Inheritance Cycle inspiration
negative_passages.docid: 39615
negative_passages.text: Polymorphism vs Overriding vs Overloading
negative_passages.docid: 66973
negative_passages.text: Multiple inheritance/prototypes in JavaScript
negative_passages.docid: 83187
negative_passages.text: Elegant alternatives to the weird multiple inheritance
negative_passages.docid: 16784
negative_passages.text: Java : If A extends B and B extends Object, is that multiple inheritance
negative_passages.docid: 63058
negative_passages.text: Why should I avoid multiple inheritance in C++?
negative_passages.docid: 19125
negative_passages.text: What is the advantage of using dynamic_cast instead of conventional polymorphism?
negative_passages.docid: 45428
negative_passages.text: Why doesn't PatternTest work with Composition?
negative_passages.docid: 136922
negative_passages.text: Any reason to use auto-implemented properties over manual implemented properties?
negative_passages.docid: 117914
negative_passages.text: When to use self references or composition?
negative_passages.docid: 146309
negative_passages.text: Is it necessary or useful to inherit from python's object in Python 3.x?
negative_passages.docid: 54362
negative_passages.text: Overriding and return type compatibility
negative_passages.docid: 132711
negative_passages.text: Generics and inheritance: need a complex Map instance
negative_passages.docid: 56771
negative_passages.text: Method overloading and choosing the most specific type