Overriding methods inherited from a superclass with methods from a mixin

Michael Selik michael.selik at gmail.com
Mon Jun 13 20:13:38 EDT 2016


On Mon, Jun 13, 2016 at 7:46 PM <alanqueiros at gmail.com> wrote:

> I ... am making an effort to get used to the rtl order as quickly as
> possible.
>

Funny, you keep saying right-to-left. I think the issue is you think the
parent class is more important. Fight the power! Youth revolt! In Python,
the children are in control. Now you can read it left-to-right, as is
natural.

I feel somewhat bad about posting these links
>

The StackOverflow answer had an upvoted comment that the BaseRequest should
be written after the Mixins. The two blog posts read like conversation
starters. I don't think the authors intended to write model code.

A famous textbook getting it wrong would be more interesting. But even
Knuth makes mistakes (https://en.wikipedia.org/wiki/Knuth_reward_check).



More information about the Python-list mailing list