On Tue, 2012-01-17 at 11:09 -0500, Lorin Hochstein wrote:

> Decorators
> ----------
> A function or method should not have more than two decorators applied to it
> where it is defined.

I'll point out that current discussion on that merge thread is favoring
a different idea altogether: restrict decorators to only those that "do
not mess with the conceptual interface of a function."  Mark provides
two examples of decorators which would not fit that restriction, and
Naveed objects to one of them because he feels that validation of input
arguments is a legitimate use of decorators.
-- 
Kevin L. Mitchell <[email protected]>


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to