newbie: self.member syntax seems /really/ annoying
J. Clifford Dyer
jcd at sdf.lonestar.org
Wed Sep 12 11:20:01 EDT 2007
On Wed, Sep 12, 2007 at 07:43:51AM -0700, Charles Fox wrote regarding Re: newbie: self.member syntax seems /really/ annoying:
>
> Thanks guys -- yeah these two stategies (short s.varname; and explicit
> rescoping, a=self.a etc) are more or less what I was using. That's
> still kind of annoying though.
>
> The s.varname approach still makes numerical code much harder to read.
>
For what it's worth, if you stick with python for a while, you will stop noticing the self, and be able to see what you're looking for quite clearly.
Moreso if you use s.
Cheers,
Cliff
More information about the Python-list
mailing list