shortcut for 'self' wish

Kirby Urner urner at
Sat Mar 3 06:58:19 CET 2001

"Terry Reedy" <tjreedy at> wrote:
>This is entirely a social convention for publicly displayed code.  For my
>own work, I use s for self (and o for other in __add__(), etc.).  Python is
>not a straightjacket.

I agree with Pilgrim in 'Dive Into Python' that we should
honor the 'self' convention.  These standards make source
more readable across the board and innovating some local
idiosyncratic convention just to save keystrokes (or 
whatever) strikes me as self-indulgent.


More information about the Python-list mailing list