Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed2.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.068 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.02; 'bits': 0.09; 'subject:design': 0.09; 'bit.': 0.16; 'digits.': 0.16; 'fancy': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'roy': 0.16; 'subject:Language': 0.16; 'through.': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'thu,': 0.19; 'options': 0.25; 'header:In- Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'decimal': 0.31; 'sep': 0.31; 'steven': 0.31; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; '12,': 0.39; 'to:addr:python.org': 0.39; 'land': 0.65; 'smith': 0.68; 'article': 0.77; 'fourth': 0.84; 'is!': 0.84; 'lying': 0.84; 'trick.': 0.84; '2013': 0.98 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:to :content-type; bh=EC3+FHJBCH2aJzYFbzHmic8X9f0qHaTq0nCvLy9UQOM=; b=S08+Vd71+EGQYh1dLzaQPGtKuQ4P0VqpkFJc9UwFCFHtPGu9ABtjn+sbJHhtWBCuHy lwuj20MtHnZDp0qZ4J+g3sBmC2YHJ6Zzih4If09Fsgwyqi6Veo7O+LPRNjEWKf0X8hur Sc4FhJjJgabULTX+S4twBCExDVixFvaVcvOj25Iiee7isVffVNL9HRlPjc33gQ6B3akY 4LbrBM1smIGwlkC4avNe1TGmHcGuXGKcW23RwHTT6L0OAZ7PVYnD6J3//aBcv6uUjiqP Nf1Ejl8ZQPgsSsWjlqHdUKOtCkF/quCzaLOG0d1tPV4QOFS966dcD47OxEM/IkfPzzjG 2Liw== MIME-Version: 1.0 X-Received: by 10.68.130.1 with SMTP id oa1mr5192889pbb.35.1378954706196; Wed, 11 Sep 2013 19:58:26 -0700 (PDT) In-Reply-To: References: <522eb795$0$29999$c3e8da3$5496439d@news.astraweb.com> <7wbo412m02.fsf@benfinney.id.au> <7w38pb2ble.fsf@benfinney.id.au> <523127e2$0$29988$c3e8da3$5496439d@news.astraweb.com> Date: Thu, 12 Sep 2013 12:58:26 +1000 Subject: Re: Language design From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378954709 news.xs4all.nl 15883 [2001:888:2000:d::a6]:58802 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54029 On Thu, Sep 12, 2013 at 12:43 PM, Roy Smith wrote: > In article <523127e2$0$29988$c3e8da3$5496439d@news.astraweb.com>, > Steven D'Aprano wrote: > >> just 3 bits if you only cared about decimal digits. > > That's a neat trick. It is! It's one of the fancy things we can do in the Land Downunder. By the time we've dodged spiders, snakes, and Drop Bears, squeezing ten options into three bits is easy! Of course, we always keep a fourth bit lying around for when the tourists come through. 33% extra profit when we sell them the unnecessary spare bit. ChrisA