Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'object.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'gmt,': 0.16; 'received:66.245': 0.16; 'received:dsl.mindspring.com': 0.16; 'received:mindspring.com': 0.16; 'received:wlfraed': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'static': 0.16; 'lee': 0.22; 'objects': 0.24; 'url:home': 0.25; 'object': 0.27; 'whereas': 0.31; 'functional': 0.31; 'to:addr:python-list': 0.32; 'another': 0.32; 'components': 0.33; 'header:X-Complaints-To:1': 0.34; 'skip:" 10': 0.34; 'charset:us-ascii': 0.36; 'some': 0.37; 'apr': 0.38; 'steven': 0.38; 'received:org': 0.38; 'to:addr:python.org': 0.39; 'header:Mime-Version:1': 0.39; 'behavior': 0.40; "it's": 0.40; 'header:Received:5': 0.40; '2011': 0.62; 'overall': 0.64; 'dennis': 0.68; 'gut': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Composition instead of inheritance Date: Thu, 28 Apr 2011 20:57:03 -0700 Organization: > Bestiaria Support Staff < References: <4dba22f3$0$29978$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: user-11faelm.dsl.mindspring.com X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1304049438 news.xs4all.nl 81473 [::ffff:82.94.164.166]:33909 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4292 On 29 Apr 2011 02:31:15 GMT, Steven D'Aprano declaimed the following in gmane.comp.python.general: > > I thought that was delegation. As in, when one object delegates some or > all of it's behaviour to another object: > "Delegation" sounds more like functional behavior whereas "composition" is more the static organization -- that is, which objects are components of the overall object. Just a gut feeling... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/