Composition instead of inheritance

MRAB python at mrabarnett.plus.com
Thu Apr 28 22:14:55 EDT 2011


On 29/04/2011 02:43, Ethan Furman wrote:
> Carl Banks wrote:
>> That's not what we mean by composition. Composition is when one object
>  > calls upon another object that it owns to implement some of its
> behavior.
>  > Often used to model a part/whole relationship, hence the name.
>
> Hmmm. Okay -- any ideas for a better term? Something that describes
> taking different source classes and fusing them into a new whole,
> possibly using single-inheritance... Frankenstein, maybe? ;)
>
[snip]
Fusing/fusion? Compounding?



More information about the Python-list mailing list