> Which of the following is considered more acceptable in the Python/IronPython
> 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...
cheers,
Fabio
_______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com