[Python-Dev] Call for defense of @decorators (original) (raw)
Barry Warsaw barry at python.org
Fri Aug 6 17:43:16 CEST 2004
- Previous message: [Python-Dev] Call for defense of @decorators
- Next message: [Python-Dev] Re: Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2004-08-05 at 21:21, Anthony Baxter wrote:
My take on the @decorator syntax is that after initially hating it, I've found it growing on me more and more. It's extremely clear and very readable. Most importantly, in my eyes, it's obviously grouped with the def that follows it. From being a -0 (when Guido first mentioned it) to a +0 (at the time of checkin) I'm now +1 on this form of decorator.
I'm also +1 on using the format/position of the @decorators. It's vastly superior to list-before-colon or list-before-def. See my other post for alternative possible solutions to Leo/ipython problem.
-Barry
-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20040806/0c5906b4/attachment-0001.pgp
- Previous message: [Python-Dev] Call for defense of @decorators
- Next message: [Python-Dev] Re: Call for defense of @decorators
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]