Re: Scripting languages again

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

From: Yoz Grahame
Subject: Re: Scripting languages again
Date: 22:34 on 16 Sep 2003
On Tue, Sep 16, 2003 at 10:21:29PM +0100, Dave Brown wrote:
> Can anyone in the class explain why Python chose to have "return
> the length of a string" be a standalone function called "len()"
> forcing the would-be Python programmer to reach for the manual?

Ah, but doesn't BASIC have LEN() as well? Not that "because BASIC does 
it that way" is a statement that can be used for anything other than 
language-design comedy, but still...

-- Yoz

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