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/046925.html below:

[Python-Dev] Re: @decorators, the PEP and the "options" out there?

[Python-Dev] Re: @decorators, the PEP and the "options" out there?Nicolas Fleury nidoizo at yahoo.com
Thu Aug 5 22:02:44 CEST 2004
IxokaI wrote:
>   Ack. I'd *never* use those syntaxes :) They are not ambigious, but
> just... complicated. The function name is too hidden, and really, that
> is in most cases the most important piece of information on that line.

Ok, now I understand.
1.If the syntax is "before def", it is outside the definition.
2.If the syntax is "just after def keyword", it hides the function name.
3.If the syntax is "after definition", it cause ugly line wraps.

Maybe it's me, but I expect that me and beginners from C++ would use 
mostly use things like staticmethod and that makes me prefer #2 and #3 
solutions.

Regards,
Nicolas

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