"self" in a class is annoying and errorprone

Robin Munn rmunn at pobox.com
Wed Feb 12 10:26:02 EST 2003


Meinrad Recheis <meinrad.recheis at aon.at> wrote:
> ^whops that was a bee's nest i went into...
> 
> ok, i m going to accept, that python is almost petrified.
> anyway ruby is better in several dimensions, and still willing to change 
> or improve!

*cough* Almost petrified? Read the PEP 308 thread, then come back and
tell us that Python is "almost petrified"...! ;-)

Python is still changing. A lot. We're happy to discuss useful changes
-- *new* useful changes, that is. But when subject XYZ has been
discussed to death a million times, and every time the conclusion has
been "We're not changing XYZ, these are the reasons why, and that's
final," that's it. We've made our decision. So when someone else comes
along later and says, "Hey guys, we should change XYZ", is it any
surprise that nobody is willing to listen?

The FAQ entry discussing "Why have an explicit 'self'?" is here, BTW:

    http://www.python.org/doc/FAQ.html#6.7

-- 
Robin Munn <rmunn at pobox.com>
http://www.rmunn.com/
PGP key ID: 0x6AFB6838    50FF 2478 CFFB 081A 8338  54F7 845D ACFD 6AFB 6838




More information about the Python-list mailing list