Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed1.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'base.': 0.05; 'nicely': 0.07; "'.'": 0.09; 'before.': 0.09; 'creighton': 0.09; 'notation.': 0.09; 'cc:addr:python-list': 0.10; 'missed': 0.15; "','": 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'help?': 0.16; 'literals': 0.16; 'naive': 0.16; 'separator,': 0.16; 'wrote:': 0.16; 'laura': 0.18; 'numerical': 0.18; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'written': 0.24; 'mon,': 0.24; 'least': 0.27; 'message-id:@mail.gmail.com': 0.28; 'decimal': 0.29; 'symbols': 0.29; 'point.': 0.29; 'writes': 0.31; 'though,': 0.32; 'point': 0.33; 'problem': 0.33; 'subject:?': 0.34; 'received:google.com': 0.34; 'wrong': 0.35; 'something': 0.35; 'really': 0.35; "isn't": 0.35; 'but': 0.36; '(and': 0.36; 'subject:" ': 0.36; 'subject:: ': 0.37; 'manual': 0.38; 'say': 0.38; 'pm,': 0.39; 'even': 0.61; 'here.': 0.61; 'different': 0.64; 'deals': 0.67; 'special': 0.72; 'money': 0.72; 'carefully': 0.76; 'chrisa': 0.84; 'distinguish': 0.84; 'to:none': 0.90 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=A/6TROKldLW6ME15o0wlIpWINl6y3HnOa1GFgGTh9v4=; b=rSLFitACgJYkEEt1rZdMufGDGi6I9eOseOdOlUtEdbn7pr3G0MUEukAOrZn8HhFiPu PkWN6ySBfjjGNt3FxruN33OoBbNwvzvJiqayBP9e1BCCXPcp6iGHmXYbbx0ZXGVFkAGG Qcz/RQ3c0Rj180emseaxhKatDP/Ta76ri2t/frPhAf7QXP4fk6ShvBuepGlbrTG4ZVzN y6+BIwdRqOIt8UEqIZJ3iKrocv1Uag81J+uSSeR8Xml1QLGrT7CyUYDsDYKOL6q6AKUF nU0JhI7kN2wOBbq3PyTMr4sPdOohpB5oc2ZBZCtW1Jt1KHxmvWc4d2maXYEk5bpI6czB ElBg== MIME-Version: 1.0 X-Received: by 10.50.61.199 with SMTP id s7mr12544044igr.34.1433154974984; Mon, 01 Jun 2015 03:36:14 -0700 (PDT) In-Reply-To: <201506011028.t51ASBVG019928@fido.openend.se> 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> Date: Mon, 1 Jun 2015 20:36:14 +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 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433154983 news.xs4all.nl 2845 [2001:888:2000:d::a6]:39150 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:91651 On Mon, Jun 1, 2015 at 8:28 PM, Laura Creighton wrote: > You have missed my point. What I want is for floats never to be > represented as '.' or ',' notation. That way, when each naive > user writes his or her first program that deals with money, when > they look at their computer manual they will come to the section on > floating point numbers and they will all look like something they > have never seen before. So they will read the section carefully > to see if this is what they want or need, and the section can nicely > say NEVER USE THIS FOR MONEY and they will know they are in the wrong > place. The problem isn't the decimal separator, though, because floats can have problems even without it (and can have no problems with a decimal separator). If you want to distinguish "computer numbers" from "real numbers", you'd do better to pick a different set of symbols for them - or at least a different numerical base. If all literals were written in octal, people would understand that there's something special going on here. But would that really help? ChrisA