the annoying, verbose self

braver deliverable at gmail.com
Wed Nov 21 18:51:56 EST 2007


Is there any trick to get rid of having to type the annoying,
character-eating "self." prefix everywhere in a class?  Sometimes I
avoid OO just not to deal with its verbosity.  In fact, I try to use
Ruby anywhere speed is not crucial especially for @ prefix is better-
looking than self.

But things grow -- is there any metaprogramming tricks or whatnot we
can throw on the self?

Cheers,
Alexy



More information about the Python-list mailing list