Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #4301
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <prvs=0931498fc=jeanmichel@sequans.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'behavior.': 0.07; 'okay': 0.09; '>>>': 0.12; 'wrote:': 0.14; '(remember': 0.16; 'actualy': 0.16; 'finney': 0.16; 'furman': 0.16; 'received:192.168.200': 0.16; 'whole,': 0.16; 'possibly': 0.16; 'describes': 0.19; 'writes:': 0.20; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'classes': 0.26; 'object': 0.27; 'implement': 0.30; 'cc:addr:python.org': 0.31; 'model': 0.31; 'carl': 0.31; 'another': 0.32; 'source': 0.32; 'using': 0.34; 'received:192': 0.34; 'header:User-Agent:1': 0.35; 'received:192.168': 0.37; 'some': 0.37; 'but': 0.38; 'used': 0.38; 'owns': 0.60; 'taking': 0.61; 'upon': 0.63; 'skip:\xe2 10': 0.72; 'composition': 0.84 |
| X-IronPort-AV | E=Sophos;i="4.64,286,1301868000"; d="scan'208";a="1436552" |
| X-Virus-Scanned | amavisd-new at zimbra.sequans.com |
| Date | Fri, 29 Apr 2011 11:23:39 +0200 |
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| User-Agent | Mozilla-Thunderbird 2.0.0.24 (X11/20100328) |
| MIME-Version | 1.0 |
| To | Ben Finney <ben+python@benfinney.id.au> |
| Subject | Re: Composition instead of inheritance |
| References | <d34a5410-42a1-44f6-91b4-32853ae55aca@glegroupsg2000goo.googlegroups.com> <mailman.971.1304040768.9059.python-list@python.org> <87oc3pk9h0.fsf@benfinney.id.au> |
| In-Reply-To | <87oc3pk9h0.fsf@benfinney.id.au> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.986.1304069024.9059.python-list@python.org> (permalink) |
| Lines | 24 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1304069025 news.xs4all.nl 32470 [::ffff:82.94.164.166]:45383 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:4301 |
Show key headers only | View raw
Ben Finney wrote: > Ethan Furman <ethan@stoneleaf.us> writes: > > >> 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? ;) >> > > (Remember that Frankenstein was not the monster, but the scientist.) > > “Hybrid”? > > Actualy this story is about the villagers being the monsters :o) JM
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Composition instead of inheritance Carl Banks <pavlovevidence@gmail.com> - 2011-04-28 15:35 -0700
Re: Composition instead of inheritance Ethan Furman <ethan@stoneleaf.us> - 2011-04-28 18:43 -0700
Re: Composition instead of inheritance Ben Finney <ben+python@benfinney.id.au> - 2011-04-29 13:44 +1000
Re: Composition instead of inheritance Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-04-29 11:23 +0200
Re: Composition instead of inheritance MRAB <python@mrabarnett.plus.com> - 2011-04-29 03:14 +0100
Re: Composition instead of inheritance James Mills <prologic@shortcircuit.net.au> - 2011-04-29 13:16 +1000
Re: Composition instead of inheritance Dan Stromberg <drsalists@gmail.com> - 2011-04-28 20:58 -0700
Re: Composition instead of inheritance Ben Finney <ben+python@benfinney.id.au> - 2011-04-29 14:14 +1000
Re: Composition instead of inheritance John Nagle <nagle@animats.com> - 2011-04-28 22:10 -0700
Re: Composition instead of inheritance Ethan Furman <ethan@stoneleaf.us> - 2011-04-29 13:39 -0700
csiph-web