Use empty string for self

Roy Smith roy at panix.com
Wed Mar 1 03:53:01 CET 2006


Terry Hancock <hancock at anansispaceworks.com> wrote:
> However, there is a slightly less onerous method which
> is perfectly legit in present Python -- just use "s"
> for "self":

This is being different for the sake of being different.  Everybody *knows* 
what self means.  If you write your code with s instead of self, it just 
makes it that much harder for other people to understand it.



More information about the Python-list mailing list