A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-May/072927.html below:

[Python-Dev] New Super PEP

[Python-Dev] New Super PEP [Python-Dev] New Super PEPGiovanni Bajo rasky at develer.com
Wed May 2 12:45:01 CEST 2007
On 02/05/2007 12.00, Christian Tanzer wrote:

>>> Nearly always wrong? You must be kidding. There are tons of reasons to
>>> call your super method with modified arguments. E.g. clipping,
>>> transforming, ...

>> Really?
>> http://fuhm.net/super-harmful/
> 
> Hmmm.
> 
> I've just counted more than 1600 usages of `super` in my
> sandbox. And all my tests pass.

And you don't follow any of the guidelines reported in that article? And you 
never met any of those problems? I find it hard to believe.

The fact that your code *works* is of little importance, since the article is 
more about maintenance of existing code using super (and the suggestions he 
proposes are specifically for making code using super less fragile to 
refactorings).
-- 
Giovanni Bajo

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4