understanding self
Steve Lamb
grey at despair.dmiyu.org
Thu Jul 8 15:55:28 EDT 2004
On 2004-07-08, Jeff Shannon <jeff at ccvcorp.com> wrote:
> So far, I've heard plenty of alternatives to having explicit 'self', but
> very little indication of why it would be an improvement other than that it
> would allow less typing -- and Python has always placed ease-of-reading over
> ease-of-typing. ("Readability counts.")
Good thing, too, lest we devolve into Ruby's wannabe Perl line-noise to
denote what's what. Isn't @ in ruby a class variable?
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------
More information about the Python-list
mailing list