Language change and code breaks

Andrew Kuchling akuchlin at mems-exchange.org
Fri Jul 20 10:59:40 EDT 2001


Guido van Rossum <guido at python.org> writes:
> second that the average identifier length will go up.  If you use this
> a lot (message = Message() etc.) your code is less readable than it
> should be.  It also makes it harder to discuss code in person or over

It's also less typing if you abbreviate the variable name holding the
instance.  I often write u = User() or acct = Account or msg =
Message().  Case-insensitivity breaking the 'message = Message()'
idiom is mildly annoying, but not very significant.

--amk





More information about the Python-list mailing list