<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Until now we haven't AFAIK used decorator syntax, but I think it's
time we start to. In places where we were already using decorators
without the special syntax, that is.<br>
<br>
Consider:<br>
<blockquote><tt>def foo(cls, arg):</tt><br>
<tt> # lalalal</tt><br>
<tt>foo = classmethod(foo)</tt><br>
</blockquote>
One has to type "foo" three times (a potential source of error), and
the special semantics of the function are known to the reader only
*after* reading the function. On the other hand:<br>
<blockquote><tt>@classmethod<br>
def foo(cls, arg):</tt><br>
<tt> # lalalal</tt><tt></tt><br>
</blockquote>
This suffers from none of these problems.<br>
<blockquote>
</blockquote>
Any disagreement?<br>
<br>
</body>
</html>