Re: When ‘super’ is not a good idea

alex23 wuwei23 at gmail.com
Wed Oct 7 19:02:32 EDT 2009


Jean-Michel Pichavant <jeanmic... at sequans.com> wrote:
> alex23 wrote:
> > 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.
>
> I found the correct answer
> (http://www.artima.com/weblogs/viewpost.jsp?thread=236275)

I'm not entirely sure how an opinion + explanation of the underlying
mechanics is more or less "correct" than a development principle...



More information about the Python-list mailing list