Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof 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> References: <87io5b5m1b.fsf@Equus.decebal.nl> <87egfz5i9x.fsf@Equus.decebal.nl> 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 On Monday 9 Nov 2015 16:24 CET, Chris Angelico wrote: > On Tue, Nov 10, 2015 at 2:01 AM, Cecil Westerhof 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