Python Metalanguage confusticates and bebothers me...

Stephen Hansen stephen at cerebralmaelstrom.com
Thu Sep 7 01:28:41 EDT 2000


Umm... 'dictionary' is a nicer way of describing what is going on then
'associative arrays'. You have Words, with Definitions, in a 
one-to-one or one-to-many relationship. That's what a dictionary
is. Look at HTML's 'definition lists'.

And, Tuples are defined as a data object of two or more components.

You see, Python has three kinds of arrays. To make things easier
to understand, they are each called something distinct, and not
'immutable arrays', 'mutable dynamic-lengthed arrays' and
'associative arrays'. They're 'tuples', 'lists', and 'dictionaries'.

Isn't that easier to understand?

--S

In article <39b5942f.11001184 at news.bright.net>, jonadab at bright.net
(Jonadab the Unsightly One) wrote:

> 
> Python itself is okay (well, so far anyway).  But the  metalanguage --
> the terminology used to discuss features  of the language -- is weirding
> me out.  "Dictionaries" aren't dictionaries at all, they're associative
> arrays.
> "Tuples" don't necessarily have three elements.  I 
> suppose once I get used to this stuff it'll be okay... but it reminds me
> of Reinhold Neibuhr.
> 
> - jonadab


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list