Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'anyway.': 0.04; 'subject:Python': 0.05; 'assignment': 0.07; 'cc:addr:python-list': 0.10; 'python': 0.11; 'argument': 0.15; '"<=",': 0.16; '"="': 0.16; 'assignment.': 0.16; 'eternal': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; "isn't.": 0.16; 'wrote:': 0.16; 'language': 0.19; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'ascii': 0.22; 'am,': 0.23; '2015': 0.23; 'header:In-Reply- To:1': 0.24; 'chris': 0.26; 'mathematical': 0.27; 'message- id:@mail.gmail.com': 0.28; "i'm": 0.29; 'does,': 0.29; 'notation': 0.29; 'problem': 0.33; 'change,': 0.33; 'symbol': 0.33; 'subject:?': 0.34; 'received:google.com': 0.34; 'really': 0.35; 'but': 0.36; 'being': 0.36; 'subject:" ': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'tue,': 0.38; 'is,': 0.38; 'mean': 0.38; 'whatever': 0.39; 'some': 0.40; 'even': 0.61; 'entire': 0.61; 'debate': 0.66; 'talking': 0.67; 'truth': 0.79; 'chrisa': 0.84; 'to:none': 0.90; 'different.': 0.91 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:content-transfer-encoding; bh=Itx6eUFkl3Zyt6xSCrB0Gh3gwXCC69qpXobbnqf0O2U=; b=rcxZriYmDFAGmwZTIgYLbprw4afqSS0sfl/TeP0fh7wDOagw1ZQ2I5Rd0csMKMyXP9 R28XQ/sqZ8OncC/W0r1QLT37GNoTJu/lDW72IMY7mgxqud0PvexBp7EqXCRUg8e0kMjL XGDKMwagGWgkgrGKsG82GWgmuB8vy3cDVSItMMI1ld1ehpOQt3SDgqZuHdVktIeswoNO hXPRMEbrsDqkCa6TVq++xcLTVnCu5Zvlch+BV4jSnfRM7B2SdOsgYx/zC8JUO5CIBvLW UIolznzGruyF1wPoIQyHVIZup2ccoIkVqGrUaUK/S44ZBhdWkAMJ/Frn09R292te66G8 tOaw== MIME-Version: 1.0 X-Received: by 10.50.176.228 with SMTP id cl4mr14683600igc.2.1433175017916; Mon, 01 Jun 2015 09:10:17 -0700 (PDT) In-Reply-To: References: <28cec7df-0f51-4098-b027-72e913a9b656@googlegroups.com> <1433128706.32838.283108057.2C4C8613@webmail.messagingengine.com> <201506010758.t517wR9T015894@fido.openend.se> <201506011028.t51ASBVG019928@fido.openend.se> <201506011124.t51BOqO2021385@fido.openend.se> Date: Tue, 2 Jun 2015 02:10:17 +1000 Subject: Re: What is considered an "advanced" topic in Python? From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433175021 news.xs4all.nl 2929 [2001:888:2000:d::a6]:54383 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91691 On Tue, Jun 2, 2015 at 1:17 AM, BartC wrote: > On 01/06/2015 14:52, Chris Angelico wrote: >> It's >> >> like the eternal debate about assignment and whether "x =3D x + 1" is >> nonsense, with advocates preferring "x :=3D x + 1" as being somehow >> fundamentally different. It isn't. It's just a notational change, and >> not even a huge one. (Though I do see the line of argument that it >> should be "x <- x + 1" or something else that looks like an arro'w.) > > > 'x <- x + 1' already means something as an expression (whether x is less > than (-x+1). 'x <=3D x + 1' has the same problem. > > But I have used "=3D>" before, for left-to-right assignment. (Mostly I u= se > ":=3D") In Python it does, yes; I'm talking about the language design advocates. Some recommend a two-character ASCII notation like "<-" or "<=3D", others prefer a single-character symbol eg "=E2=86=90" or "=E2=87= =A6", but whatever it is, it will have no meaning in that language other than assignment. And yes, I can see the value of using an arrow to indicate assignment... but I don't really see a huge problem with using "=3D" to mean assignment, given that people from a mathematical background will have to grok the entire concept of temporal truth anyway. Whatever symbol you use, it has to be explained. ChrisA