Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4323

Re: Composition instead of inheritance

Date 2011-04-29 13:39 -0700
From Ethan Furman <ethan@stoneleaf.us>
Subject Re: Composition instead of inheritance
References <d34a5410-42a1-44f6-91b4-32853ae55aca@glegroupsg2000goo.googlegroups.com> <4DBA17C7.1080303@stoneleaf.us> <BANLkTim8YH7PXTEwuQV7VCMN=ag0HG3Bxw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1001.1304108797.9059.python-list@python.org> (permalink)

Show all headers | View raw


James Mills wrote:
> On Fri, Apr 29, 2011 at 11:43 AM, Ethan Furman <ethan@stoneleaf.us> 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~

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


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