> I don't really want to open a can of worms here, but as I'm finishing up > my OSCON slides, I remembered a conversation earlier where Guido said > that tuples should be used for heterogeneous items (i.e. lightweight > structs) while lists should be used for homogeneous items. > > Should this preference be enshrined in PEP 8? Yes. > (I'm -1 myself, but I'd like to know what to tell my class.) Like it or not, that's what tuples are for. :-) --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