Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'say,': 0.05; 'subject:Python': 0.06; 'curve': 0.09; 'subject:language': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '"lambda"': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guess.': 0.16; 'happily': 0.16; 'identifiers,': 0.16; 'non- ascii': 0.16; 'programmers;': 0.16; 'subject: \n ': 0.16; 'subject:?)': 0.16; 'subject:unicode': 0.16; 'symbols': 0.16; 'language': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'typing': 0.19; 'cc:addr:python.org': 0.22; 'alternate': 0.24; 'cc:2**0': 0.24; 'extension': 0.26; 'switch': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'quickly': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; '(although': 0.31; '25,': 0.31; '>>>>': 0.31; 'concern': 0.31; 'fast.': 0.31; 'keywords,': 0.31; 'front': 0.32; 'languages': 0.32; 'everyone': 0.33; 'programmers': 0.33; 'moment': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'two': 0.37; 'easily': 0.37; 'fact': 0.38; 'pm,': 0.38; 'itself': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'new': 0.61; 'matter': 0.61; 'more': 0.64; 'mar': 0.68; 'bulk': 0.74; 'subject:this': 0.83; 'back?': 0.84; 'everything,': 0.84; 'good!': 0.84; 'quicker': 0.84; 'dealt': 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:content-transfer-encoding; bh=ETJarzg6FM9w/GowTZkFhR5MKYt0Uu25874GsVaZAuk=; b=dWouRYHm4+/ufYELhw2SMwq5kqGxPBFRQ9qDvmibxse35uXvVswihwqsiNWVU1IGxJ 3BLuDoSrCqC3iEV6SCV4ER2GxEupW4YvjwRRAP2SIoMd2FzXaUGhZ5WTpQ0ege0IiXag lUielutxbNaBniAr76SRCKHjacALoCODs9yOlrsyKIy+eFUpfWMKiCH2xuNamf5tO1pv /WfgoXFWvxGkSuXT8CCLvqy8z+VgqkVYbHSC149UOAjSZBHb4ZV4A1im1Y91xPc5Ccho un8N9iFDopR/bmamlQr12yTPhDYr/oBLR7daf11M6m4KjvE0yHSLoVHZVDr/gTYxV7EA MY3A== MIME-Version: 1.0 X-Received: by 10.66.27.202 with SMTP id v10mr13512097pag.127.1395725253354; Mon, 24 Mar 2014 22:27:33 -0700 (PDT) In-Reply-To: References: <9daf0806-02de-4447-964c-c8f8953c23e5@googlegroups.com> <532d5bd9$0$29994$c3e8da3$5496439d@news.astraweb.com> <0b78649a-16b3-4410-8258-e859578d62be@googlegroups.com> <281c8ce1-4f03-4e93-b5cd-d45b85e89e7e@googlegroups.com> Date: Tue, 25 Mar 2014 16:27:33 +1100 Subject: Re: Time we switched to unicode? (was Explanation of this Python language feature?) 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.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: 40 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395725262 news.xs4all.nl 2899 [2001:888:2000:d::a6]:57373 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68957 On Tue, Mar 25, 2014 at 4:14 PM, Mark H Harris wrot= e: > On 3/25/14 12:08 AM, Chris Angelico wrote: > >> How quickly can you switch, type one letter (to generate one Cyrillic >> character), and switch back? > > > ... very fast. > > Is not this nicer? > >>>> =CE=A0 =3D pi >>>> >>>> sin(=CE=A0/4) > 0.7071067811865475 >>>> >>>> cos(=CE=A0/4) > 0.7071067811865476 >>>> > > my pdeclib constants extension will have alternate spellings for =CE= =A0 and =CE=93 > and =CE=94 and others... That's good! (Although typing =CE=A0 quicker than pi is majorly pushing it. I can type pi with two keystrokes. But for longer keywords, that's the way it needs to be.) You can be at the front of the curve - using non-ASCII symbols as identifiers, which a number of languages happily support. Using them as keywords in the language means that it has to be not just you, but the bulk of programmers; otherwise there have to be two ways to do everything, and everyone has to learn both of them. (Once, say, 99% of programmers can happily type all those symbols, the fact that 1% of programmers are using the word "lambda" will just be a matter to be dealt with in legacy code - same as seeing "range" vs "xrange" in Python 2 code. New code needn't concern itself with the difference.) Unfortunately, at the moment it's more like 1% of programmers can easily type those symbols, I would guess. ChrisA