Language design

Chris Angelico rosuav at gmail.com
Wed Sep 11 22:58:26 EDT 2013


On Thu, Sep 12, 2013 at 12:43 PM, Roy Smith <roy at panix.com> wrote:
> In article <523127e2$0$29988$c3e8da3$5496439d at news.astraweb.com>,
>  Steven D'Aprano <steve+comp.lang.python at pearwood.info> 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



More information about the Python-list mailing list