Rather than decorators, how about sections?

Paul Morrow pm_mon at yahoo.com
Wed Aug 11 22:10:11 CEST 2004


paolo veronelli wrote:

> to understand where I was reading in the code .... now should I say 
> shame on you because you like self? Take it easy with words and have fun.

I don't particularly like the name 'self', but that *is* the recommended 
name to use as the first argument to all instance methods.  We are 
discouraged from using anything else, and rightly so.  We want the 
readers of our code to feel at home, to see familiar conventions.




More information about the Python-list mailing list