[IronPython] Static methods

fabio.pliger fabio.pliger at siavr.it
Tue Sep 26 09:45:03 CEST 2006

David Anton wrote:

> Which of the following is considered more acceptable in the 

> community?


> Prefacing the method with:

> @staticmethod


> or following the method with:

> MyMethod = staticmethod(MyMethod)


Since Python 2.4, the decorator is nicer. :-)

Agree... But huge use of decorators in a complex application tends tslow 
down performance and generate complex and longer tracebacks...


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060926/2c335287/attachment.html>

More information about the Ironpython-users mailing list