[PyQt] Fwd: Mixin classes and PyQt4

Baz Walter bazwal at ftml.net
Mon Feb 10 22:32:49 GMT 2014


On 10/02/14 21:50, Hans-Peter Jansen wrote:
> On Montag, 10. Februar 2014 19:47:59 Baz Walter wrote:
>>
>> What would be the point of the second one?
>>
>> The mixin would always need to go first for subclasses to benefit from
>> the reimplemented sizeHint.
>
> Of course.
>
> But writing it will hurt in the fingers and then sting the eyes..

I'm probably being really dense, but I just don't see what the problem is.

In what universe of drunkenness and insanity is

     class C(A, B):

consistently considered prettier/uglier than

     class C(B, A):

...?

-- 
Regards
Baz Walter


More information about the PyQt mailing list