Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98547

Re: Using tuple as parameter to a function

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.python
Subject Re: Using tuple as parameter to a function
Date 2015-11-09 18:54 +0100
Organization Decebal Computing
Message-ID <874mgv5a99.fsf@Equus.decebal.nl> (permalink)
References <87io5b5m1b.fsf@Equus.decebal.nl> <mailman.175.1447077487.16136.python-list@python.org> <87egfz5i9x.fsf@Equus.decebal.nl> <mailman.180.1447082701.16136.python-list@python.org>

Show all headers | View raw


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

> On Tue, Nov 10, 2015 at 2:01 AM, Cecil Westerhof <Cecil@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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Using tuple as parameter to a function Cecil Westerhof <Cecil@decebal.nl> - 2015-11-09 14:40 +0100
  Re: Using tuple as parameter to a function Chris Angelico <rosuav@gmail.com> - 2015-11-10 00:58 +1100
    Re: Using tuple as parameter to a function marco.nawijn@colosso.nl - 2015-11-09 06:57 -0800
    Re: Using tuple as parameter to a function Cecil Westerhof <Cecil@decebal.nl> - 2015-11-09 16:01 +0100
      Re: Using tuple as parameter to a function Chris Angelico <rosuav@gmail.com> - 2015-11-10 02:24 +1100
        Re: Using tuple as parameter to a function Cecil Westerhof <Cecil@decebal.nl> - 2015-11-09 18:54 +0100

csiph-web