Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.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.039 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'assignment': 0.07; 'modified': 0.07; 'subject:number': 0.09; 'cc:addr:python-list': 0.11; 'does,': 0.16; 'equality.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'lhs': 0.16; 'notation': 0.16; 'notations': 0.16; 'rhs': 0.16; 'symbols': 0.16; 'utterly': 0.16; 'variables,': 0.16; 'wherein': 0.16; 'wrote:': 0.18; 'programming': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'math': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'point': 0.28; 'compared': 0.30; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'horizontal': 0.31; 'steven': 0.31; 'violation': 0.31; 'stuff': 0.32; 'sense': 0.34; 'subject:the': 0.34; 'equal': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'wrong': 0.37; 'pm,': 0.38; 'explain': 0.39; 'supporting': 0.39; 'how': 0.40; 'even': 0.60; 'letters': 0.60; 'numbers': 0.61; 'real': 0.63; 'pick': 0.64; '500': 0.70; 'subject:get': 0.81; '"real': 0.84; '10:11': 0.84; 'captures': 0.84; 'centuries': 0.84; 'concept.': 0.84; 'enforced': 0.84; 'dare': 0.91; '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=Vxq3vGzNSZ3t9OfLM+Aq0R+Oj1XW0jBmXRIVmRB91z0=; b=FMo4X1jl2hVHdqmtPtBLQ59weaE4BP7y/nhrib6WSMWG0hWu5hb9nRexLpOdrSxMo6 qsutxD5g7Ecji6iY1U/otAnk0xAuZU0AMmegZ/0ekuU2XU+BJ7abr1ya05AfVALtR838 AB0IySU5WjqV0vVuGDTNVjoZKW4GZydSNZ8y3H57UW/2FJ1iTok+T2kKKwE8GMytL3L+ mR5WbTz06Qdv5/P/46Biz2juC6Zhm5tKu2gybabTmaAZ/X2RZm+s4ygpKBXoJJf39WOS uUYw7yJ7q2fVffUHeFE+YS2oTOUqUQzd/rxup4mMjGR7ixTL5mAvgk9zhGLaj3+1smH3 kl3A== MIME-Version: 1.0 X-Received: by 10.51.17.2 with SMTP id ga2mr29603175igd.2.1407761137959; Mon, 11 Aug 2014 05:45:37 -0700 (PDT) In-Reply-To: <55a85155-0c7d-4100-94e8-b24d36885289@googlegroups.com> References: <53E658CD.5020904@gmail.com> <53e59035$0$29998$c3e8da3$5496439d@news.astraweb.com> <338e8fb0-c9ec-462a-b560-1c1ff77de17e@googlegroups.com> <154cc342-7f85-4d16-b636-a1a953913c98@googlegroups.com> <8c41d779-0c26-430a-a915-08c2b962e0e7@googlegroups.com> <53e824b9$0$30000$c3e8da3$5496439d@news.astraweb.com> <55a85155-0c7d-4100-94e8-b24d36885289@googlegroups.com> Date: Mon, 11 Aug 2014 22:45:37 +1000 Subject: Re: how to get the ordinal number in list 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407761146 news.xs4all.nl 2940 [2001:888:2000:d::a6]:37078 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76056 On Mon, Aug 11, 2014 at 10:11 PM, Rustom Mody wrote: > So evidently using notations in the ways they are conventionally used > is a good thing. > > But then when it comes to Steven supporting the violation 500 years* of > math conventional usage of '=': Yep. It's not a violation; it's a modification. Since algebra has no concept of chronology and programming does, some notation must be found which captures this concept. Try explaining complex numbers to someone who has only ever used real numbers, and explain why you violate however-many centuries of conventional usage wherein letters are used for variables, but now you pick one of them and make it a constant. It's an abomination! This "complex" stuff is so utterly wrong compared to "real mathematics", and how dare you even support using symbols the same way in both of them! The double horizontal line is associated with equality. Assignment states that the LHS after this point is equal to the RHS before this point, which is a chronologically modified form of enforced equality. It makes good sense to use the double horizontal line for equality. ChrisA