Python is Considered Harmful

Jerzy Karczmarczuk karczma at info.unicaen.fr
Tue Oct 28 10:13:19 EST 2003


Alex Martelli wrote:
> Jegenye 2001 Bt wrote:

>>So this was actually like the famous equation
>>"9*6=42"
>>:-)
>>It is correct (or incorrect) if you look at it in the right (or wrong)
>>way.
> 

> Do you mean, implicitly using base 13?  I know of no programming
> language that lets you set the number base to be used for literals
> (except presumably ones with particularly 'powerful' macros...?-)
> and I hope I never have to contend with one.

In Icon you can write 13r9 * 13r6. Icon is a decent, although weakly known
language, without any "particularly 'powerful' macros", which permits to
choose the base of literals. Nothing horrible.


Jerzy Karczmarczuk





More information about the Python-list mailing list