Using tuple as parameter to a function

Chris Angelico rosuav at gmail.com
Mon Nov 9 10:24:53 EST 2015


On Tue, Nov 10, 2015 at 2:01 AM, Cecil Westerhof <Cecil at decebal.nl> wrote:
>     for no_of_threads, no_of_records in values:

Beautiful! Though I'd shorten the names to just "threads" and
"records"; saying "number of X" isn't usually necessary, plus, the
general principle of Huffman coding your names recommends using
something shorter for a short-lived iteration variable. But otherwise,
that's exactly what I'd be looking at - descriptive and clear.

ChrisA



More information about the Python-list mailing list