while true: !!!

Steve Lamb grey at despair.rpglink.com
Mon Dec 18 20:05:18 CET 2000


On Mon, 18 Dec 2000 17:05:51 +0100, Alex Martelli <aleaxit at yahoo.com> wrote:
>I think it would be inconsistent, un-Pythonic, to add a fundamental type for
>'conceptual' reasons, without any practical, measurable benefit.  For
>example, Python does away with the distinction between 'a character' and 'a
>string of length 1' -- a distinction that is religiously maintained in C,
>Pascal, Java, etc, and does have a basis in both 'conceptual' and
>machine-level considerations -- yet the strong conceptual *simplification*
>arising from just doing away with the distinction appears to be quite
>positive.

    I can attest to that.  I have tough times in C, Pascal and other such
languages because of one consideration they make that Perl and Python do not.
Data is data.  Forgiving me my discussion earlier where I said Python doesn't
do that (when compared to Perl) it still does it in all the ways that count.
I don't have to worry about how large or small of a block of space to allocate
to my strings or arrays.  It's a string, not a string[80] that I might one day
want to stuff 81 characters into.  :/


-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------



More information about the Python-list mailing list