Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.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.077 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'subject:: [': 0.04; 'spelling': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'stored': 0.12; 'expect,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'identifiers': 0.16; 'language': 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'commands,': 0.24; 'instance,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'words': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'table,': 0.31; 'though.': 0.31; 'fri,': 0.33; 'programmers': 0.33; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'wrong': 0.37; 'pm,': 0.38; 'expect': 0.39; 'subject: / ': 0.60; 'most': 0.60; 'length': 0.61; 'providing': 0.61; 'address': 0.63; 'name': 0.63; 'american': 0.66; 'between': 0.67; 'felt': 0.74; 'unusual': 0.74; 'age': 0.80; 'id,': 0.84; 'subject:color': 0.84; 'british': 0.87; '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=DV7ylTGN5+87Ij8E3SqQbhnRDl9ecFbNRRTlrYuMWds=; b=BqaFwsg0VoPSsYWExdzzQA2c8izUvPc+BZTm2UlYqeMhR/yZ9P1wvTaRJnJOEzcp8a bzcs6GLCDceMuaMEHqH5IAPZcELWdp6gf8kLk0lNcP9olTYHkdnhRZADfYxWswxVesAs 1OKjEpieomrtCZPgOvaeNQqL4gfPU+plffMct8M+1FmY5g5HkuOqMvj0rCFzRUzaPyW2 PR6+7eUTVY8UfpGwOPpU6MgEx7+G/orx+hUSFyW8jQ8InV9uEaEKgAyYYqyHJrgEILmh g1Iht1nON8Nhb4I3Nu/5A8eThLDSqUPG5Hs6ZowYpRnP1lkFTnmRVXV/MKlrPH8oAdql 0ASw== MIME-Version: 1.0 X-Received: by 10.50.176.202 with SMTP id ck10mr4112781igc.2.1412924692499; Fri, 10 Oct 2014 00:04:52 -0700 (PDT) In-Reply-To: <54378212$0$13009$c3e8da3$5496439d@news.astraweb.com> References: <5435e4e6$0$12982$c3e8da3$5496439d@news.astraweb.com> <54378212$0$13009$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 10 Oct 2014 18:04:52 +1100 Subject: Re: [OT] spelling colour / color was Re: Toggle 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1412924700 news.xs4all.nl 2895 [2001:888:2000:d::a6]:51796 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:78929 On Fri, Oct 10, 2014 at 5:52 PM, Steven D'Aprano wrote: > "Normal" programmers spell words the same in code as they do outside of > code, e.g.: > > age > address > length There's a difference between identifiers and commands, though. I would expect, for instance, that a customer's address is stored in the database in an address table, which will have an id, which I can reference in Python using the name id. (Yes, that mandates shadowing.) But if I need to reference something that the language/library author provides, I expect that to use American spelling, mainly because that's the most common. REXX is somewhat unusual in providing 'center' and 'centre' functions (identical, just like operator.add and operator.__add__), but I always used center() because it felt wrong to use British spelling in language features. ChrisA