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

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.python
Subject Re: Using tuple as parameter to a function
Date Mon, 09 Nov 2015 18:54:26 +0100
Organization Decebal Computing
Lines 16
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>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="528adfd6ad074c92fdc6a7f8fb9e23d8"; logging-data="9526"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RJCBaHh3zaE9BB9YmDFxkXE/ixOJShrE="
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
X-Homepage http://www.decebal.nl/
Cancel-Lock sha1:e3+jyk0I5ymP87rBM/uZJaNzmp4= sha1:AqgSZtoSh6hMCg1WCB+rzeSqA9E=
Xref csiph.com comp.lang.python:98547

Show key headers only | 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