General question about Python design goals
cito at online.de
Mon Nov 28 04:10:24 CET 2005
>>For instance, I just wanted to use the index() method on a tuple which
>>does not work. ...
> Because Guido believes that tuples should be primarily used as
> lightweight replacements for C structs. Therefore they have minimal
But the problem is that the tutorials and manuals give the impression
that the difference between lists and tuples is only mutablity versus
immutability. They don't talk about such considerations and honestly
speaking even now I know that it does seem more plausible for me.
More information about the Python-list