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/2004-August/047784.html below:

[Python-Dev] Re: Call for defense of @decorators

[Python-Dev] Re: Call for defense of @decorators [Python-Dev] Re: Call for defense of @decoratorsRoman Suzi rnd at onego.ru
Fri Aug 13 19:04:34 CEST 2004
On Thu, 12 Aug 2004, Nick Coghlan wrote:

>    predef staticmethod
>    predef author(name='yarrB')
>    predef returns([int])
>    def plugh(self):
>         return 42
>
>
>To me, 'predef' seems to shout "Look, I'm telling you something about
>the 'def' that you are about to encounter in a line or two."

This is too much repetition to please programmers ;)
They like to write things ONCE. This is exactly the reason why
all this decorator hell raised:


def X:
   ...
X = decor(X)

uses X three times...


>Ah well, guess I'll go back to being a lurker on the deco issue. . .
>
>Cheers,
>Nick.
>
>

Sincerely yours, Roman Suzi
-- 
rnd at onego.ru =\= My AI powered by GNU/Linux RedHat 7.3
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