[Python-Dev] Vote No on 318 (original) (raw)

Raymond Hettinger python at rcn.com
Thu Apr 1 23:40:45 EST 2004


> A failing common to all of the proposals is that they turn action > words (like classmethod) into adjectives with implicit actions.

[Greg Ewing]

Action words? I would have said "classmethod" is a noun, and as such it's a perfectly good name for a decorator.

Sure, the current name happens to be a noun instead of "classmethodify", but what it does is action oriented. So, the real issue is declarative versus imperative. Both are great, but don't mix well.

The fact that an action occurs at function definition time is an implementation detail.

It's a somewhat important detail.

Raymond



More information about the Python-Dev mailing list