I find explicit self much easier to understand if i replace it in my mind with the word "instance"
steven at REMOVE.THIS.cybersource.com.au
Wed Apr 1 02:57:20 CEST 2009
On Tue, 31 Mar 2009 07:05:13 -0700, frolib wrote:
> I find explicit self much easier to understand if i replace it in my
> mind with the word "instance". I know that using the word "self" though
> is a strong convention.
> Discuss please.
There's nothing to discuss. Call it "self", "instance", "me" or "One" (as
in, One is not amused) in your own code, it's all the same. If you expect
others to read your code, then you are better off sticking to the usual
More information about the Python-list