Using tuple as parameter to a function

Cecil Westerhof Cecil at decebal.nl
Mon Nov 9 12:54:26 EST 2015


On Monday  9 Nov 2015 16:24 CET, Chris Angelico wrote:

> 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.

Done.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



More information about the Python-list mailing list