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

[Python-Dev] Decorator syntax J2 (decorate..def), with implementation

[Python-Dev] Decorator syntax J2 (decorate..def), with implementation [Python-Dev] Decorator syntax J2 (decorate..def), with implementationNick Coghlan ncoghlan at iinet.net.au
Tue Aug 17 01:15:48 CEST 2004
Robert Brewer wrote:

> Michael Sparks wrote:
> 
>>As for whether it's the right keyword or not, I'm not sure 
>>I'm qualified to 
>>say, but decorators seem much more like declarations of 
>>function properties 
>>in all the use cases I've seen.
> 
> The proposal, in effect, creates a declarative suite as opposed to the
> more traditional imperative suite. Perhaps "declare:" would be more
> appropriate (but give your brain a week to mull it over ;).

I'm still a fan of 'predef:' if a keyword is going to be involved. The 
only thing I've seen so far that is common to all decorators is that 
they are predefining things about a 'def' we haven't encountered yet :)

Cheers,
Nick.

-- 
Nick Coghlan               |  Eugene, Oregon
Email: ncoghlan at email.com  |             USA
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