A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-March/034059.html below:

[Python-Dev] Re: lists v. tuples

[Python-Dev] Re: lists v. tuples [Python-Dev] Re: lists v. tuplesGuido van Rossum guido@python.org
Fri, 14 Mar 2003 14:26:10 -0500
> Sure, tuples are often used for struct-like things and lists for
> that other stuff <wink>, but I don't think it's right to say you
> _must_ use them like that, and that seeing/using tuples as immutable
> lists is _wrong_.

it's not wrong, but I find that many people use tuples in situations
where they should really use lists, and the immutability is
irrelevant.  Using tuples seems to be a reflex for some people because
creating a tuple saves a microsecond or so.  That sounds like the
wrong thing to let inform your reflexes...

--Guido van Rossum (home page: http://www.python.org/~guido/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4