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

[Python-Dev] Re: decorators and 2.4

[Python-Dev] Re: decorators and 2.4 [Python-Dev] Re: decorators and 2.4Jeff Bone jbone at deepfile.com
Sat Jun 26 10:23:44 EDT 2004
> Uh, the WHOLE POINT we want this is to have side-effects.  If it 
> doesn't make the function act in a different way, it might as well 
> live in the doc string or something.

Declarative vs. imperative.  Design-time *definitional* modification of 
behavior vs. runtime.  I don't really think you want side-effects in 
the literal sense.  E.g. "classmethod" isn't a side-effect, it's a 
definitional thing.  If you really want side-effecting operations on 
functions, you've already got that given higher-order / first-class 
functions.

jb


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