Decorator syntax (was Re: PEP 318 - PyFIT comments)

David Fraser davidf at sjsoft.com
Fri Aug 6 05:21:29 EDT 2004


Ronald Oussoren wrote:
> 
> On 4-aug-04, at 21:35, Nick Vargish wrote:
> 
>> Ville Vainio <ville at spammers.com> writes:
>>
>>> This syntax is out there with backticks and print>>.
>>
>>
>> I agree.
>>
>> I just don't know where else to voice my opinion on this matter, but I
>> absolutely hate the new decorator syntax. Sorry, I just had to get
>> that off my chest.
> 
> 
> Why do you dislike it?
> 
> Ronald
> 

I think for the same reason as me!

I dislike it because it introduces a new punctuation character as an 
operator for a relatively esoteric task. At least using a keyword 
instead of @ would be a good idea.

Readability counts.

David



More information about the Python-list mailing list