Self Nanny

Darrell darrell at dorb.com
Sat Mar 4 09:49:41 EST 2000


<see_plus_plus at my-deja.com> wrote in message
> What's this? Assembler or Perl? Not very readable!

Not readable because the white space is gone.

> In C++, you don't have to supply the 'this' all the time, sometimes yes.

Every time I go back to C++ I want to say this->xxx.
I find using self.xxx is a very nice feature of Python.

While I'm at it.
I'm a reformed C++ bigot and subscribe to the school of Python + 'C'.
I almost miss templates but learned to write Python that generates far more
interesting code than templates ever could.


--Darrell







More information about the Python-list mailing list