From: Gavin Kistner Date: 2005-10-06T22:51:16+09:00 Subject: Re: foo= ... the only exception to the implicit-self rule ? On Oct 6, 2005, at 1:31 AM, itsme213 wrote: > I guess a set_x(val) is the other alternative. Not sure which I > dislike more > :-( I'm amazed that you find either the above or foo(x) more appealing than simply using self.foo = x. In my personal opinion, the assignment is clear, and made clearer by the presence of 'self'. The only alternative that I would ever (personally) endorse would be some sort of sigil for local variables like there is for global, instance, and class variables. (Ick, more punctuation. Ick, more typying. Ick, breaks backwards compatibility. But: at least it would be consistent with other variables.) Something like: %foo = 12 #The randomly-chosen % means local variable. foo = 12 #Method call with implicit self. But...really, I'm reasonably happy with the way things are now.