Re: When ‘super’ is not a good idea

alex23 wuwei23 at gmail.com
Wed Oct 7 08:01:16 EDT 2009


Jean-Michel Pichavant <jeanmic... at sequans.com> wrote:
> a possible answer:
> - explicit >> implicit
>
> I'm not sure this is the correct one though :)

To me, the explicit reference to the base class violates DRY. It also
means you need to manually change all such references should the base
class ever change, something that using super() avoids.



More information about the Python-list mailing list