Helper classes design question

Steven D'Aprano steve-REMOVE-THIS at
Tue Aug 24 09:23:31 CEST 2010

On Mon, 23 Aug 2010 19:22:46 +0200, Thomas Jollans wrote:

> On Monday 23 August 2010, it occurred to John O'Hagan to exclaim:
>> I'm not sure if I'm on the right track here design-wise. Maybe this
>> could be better done with inheritance (not my forte), but my first
>> thought is that no, the helper classes (if that's what they are) are
>> not actually a type of the main class, but are auxiliary to it.
> You could try using mixins.

Without taking a position for or against mixins, I think it is only fair 
to point out that not everyone considers them a good design choice:

Mixins considered harmful part 1
by Michele Simionato

And parts 2, 3, and 4:


More information about the Python-list mailing list