Re: Scripting languages again

[prev] [thread] [next] [lurker] [Date index for 2003/09/16]

From: David Cantrell
Subject: Re: Scripting languages again
Date: 22:34 on 16 Sep 2003
Dave Brown wrote:

 > [everyone uses length()]
 >
> Can anyone in the class explain why Python chose to have "return
> the length of a string" be a standalone function called "len()"?

Because that's how BASIC does it.  Copying BASIC is truly hateful.

-- 
David Cantrell | Benevolent Dictator | http://www.cantrell.org.uk/david

     I often think that if we Brits had any gratitude in our hearts, we
     would put up a statue to Heinz Guderian - who probably saved us from
     ruin by booting our Army off the continent before we could do
     ourselves real harm.
        -- Mike Stone, in soc.history.what-if

Generated at 14:02 on 01 Jul 2004 by mariachi 0.52