Too many 'self' in python.That's a big flaw in this language.
roy at panix.com
Wed Jun 27 15:03:33 CEST 2007
Marc 'BlackJack' Rintsch <bj_666 at gmx.net> wrote:
> Use a shorter name than `self` or an editor with auto completion.
Of the two, I'd strongly vote for the auto completion (assuming you feel
the need to "solve" this problem at all). The name "self" is so ingrained
in most Python programmers minds, that it's almost a keyword. Changing it
to "this" or "s" or "me" will just make your program a little harder for
other people to understand.
Changing it to "this" would be particularly perverse since it's not even
any less typing. In fact, on a standard keyboard, it's harder to type
since it involves moving off the home row more :-)
More information about the Python-list