Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:query': 0.07; 'cc:addr:python-list': 0.11; 'mostly': 0.14; ':-p': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'subject:Code': 0.24; 'earlier': 0.24; 'initial': 0.24; 'cc:2**0': 0.24; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'easier': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'received:google.com': 0.35; 'right?': 0.36; 'pm,': 0.38; 'heh.': 0.84; 'remembering': 0.84; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=gi9EOqPbTH6gLVf48wQNh4daAkddxbkrqmEdv5CNH3k=; b=bHnKQEOgTzPBMkgAvFFBVu4KvnP/yG0U+IX+ZxTUD+JBYUQQfcDfCZBVaRslDE0jo3 mMi+hugMKKJKpngO2zhEg25bXncoCNk03LyEbBWp7Mf44J7c5xkXnXT30FLCC65K9dSJ bOyf05grhMldcf6cPYnv6nig6Dlt7EsmZr4AxbLXyA07q6hSffTPTBXMOGYpacn2H5W/ Q64Wrcz7+zeJA9NtI1Q6yzcYf9n/4KCbLWIs8jFC22Bw9qetVHkw7OEfcjt4wy0j081L JxjCmV/9nyAxVUqJA0nr0dB3GezZltEelS3BbrQbRClQyeOAIZy2oGH0thAmmMfLtDAa GVsQ== MIME-Version: 1.0 X-Received: by 10.68.248.7 with SMTP id yi7mr29962060pbc.31.1396339979626; Tue, 01 Apr 2014 01:12:59 -0700 (PDT) In-Reply-To: <533a73a9$0$2909$c3e8da3$76491128@news.astraweb.com> References: <533a3fd8$0$2909$c3e8da3$76491128@news.astraweb.com> <533a68c3$0$2909$c3e8da3$76491128@news.astraweb.com> <533a73a9$0$2909$c3e8da3$76491128@news.astraweb.com> Date: Tue, 1 Apr 2014 19:12:59 +1100 Subject: Re: Code style query: multiple assignments in if/elif tree From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1396339983 news.xs4all.nl 2834 [2001:888:2000:d::a6]:57452 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69488 On Tue, Apr 1, 2014 at 7:07 PM, Steven D'Aprano wrote: > On Tue, 01 Apr 2014 18:35:52 +1100, Chris Angelico wrote: > >> Although remembering that v is >> velocity is easier than remembering which of u and v is initial and >> which is final. > > Which comes earlier in the alphabet? :-P So why isn't v initial velocity and w final? You start with some velocity, right? (Okay, now I'm mostly trolling. Heh. I did say your way was better, to start with.) ChrisA