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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'okay': 0.09; 'received:74.54.199': 0.09; 'received:74.54.199.50': 0.09; 'received:gator410.hostgator.com': 0.09; 'to:name:python list': 0.09; '~ethan~': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'example).': 0.16; 'furman': 0.16; 'received:72.11': 0.16; 'received:72.11.125': 0.16; 'received:72.11.125.166': 0.16; 'whole,': 0.16; 'possibly': 0.16; 'describes': 0.19; 'maybe': 0.21; 'header:In-Reply-To:1': 0.22; 'fail': 0.22; '(see': 0.26; 'classes': 0.26; 'fri,': 0.29; 'carl': 0.31; 'to:addr:python- list': 0.32; 'source': 0.32; 'using': 0.34; 'header:User-Agent:1': 0.35; 'typical': 0.35; 'apr': 0.38; 'but': 0.38; 'used': 0.38; 'to:addr:python.org': 0.39; 'issues': 0.39; "it's": 0.40; 'header:Received:5': 0.40; 'received:74.54': 0.60; 'taking': 0.61; 'reply': 0.61; '2011': 0.62; 'received:hostgator.com': 0.64; 'designed': 0.69; 'received:websitewelcome.com': 0.71; 'received:69.56': 0.77; '11:43': 0.84 Date: Fri, 29 Apr 2011 13:39:09 -0700 From: Ethan Furman User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: python list Subject: Re: Composition instead of inheritance References: <4DBA17C7.1080303@stoneleaf.us> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator410.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: mail.admailinc.com ([192.168.10.136]) [72.11.125.166]:4117 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: 14 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1304108797 news.xs4all.nl 81476 [::ffff:82.94.164.166]:38188 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4323 James Mills wrote: > On Fri, Apr 29, 2011 at 11:43 AM, Ethan Furman wrote: >> 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? ;) > > I'd have to say that this is typical of MixIns Yes, but it's designed to be used when Mixins fail because of MI issues (see my reply to Carl for an example). Maybe Integrate? ~Ethan~