Guide to: Learning Python Decorators
dihedral88888 at googlemail.com
Sun Feb 12 12:48:32 CET 2012
在 2012年2月10日星期五UTC+8下午2时32分09秒，anon hung写道：
> >> Guide to: Learning Python Decorators
> >> New Book http://tinyurl.com/python-decorartor
> > A whole book about decorators? Cool. I'm going to start writing books to.
> > I'll start with 'The Python print statement'. Then to be cutting edge I'll
> > follow with 'The Python print function'.
There are books about classes in other computer languages, too.
Using decorator is more elegant in reducing the class levels in applications.
Just deep copying an object in more than 10 levels of an inherited class hiarchie is so slow.
More information about the Python-list