On May 12, 7:03 pm, Ben Finney <[EMAIL PROTECTED]> wrote: > Carl Banks <[EMAIL PROTECTED]> writes: > > IMHO, whether a varibale is used or not has got to be one of the least > > important things of all (in no small part because it's easily > > discernable from nearby code). > > I couldn't disagree more. > > If you're binding a name to a value that will never be used, you're > doing me (the reader of the code) a great favour if you indicate > clearly and concisely that this value is not intended to be referenced > anywhere else. Saving time for the reader is a very important job of > the writer of code.
I don't think knowing in advance whether a variable is going to be used or not benefits readability. Carl Banks -- http://mail.python.org/mailman/listinfo/python-list