News for hackers. Stuff that matters.
Re:Python: Common Newbie Mistakes, Part 1 by Myrmornis on Sunday July 07, 2013 @12:07AM (#6001001)
It's a perfectly accurate statement. If a tuple is homogeneous, it's only because all of its slots happen to be for objects of the same type (e.g. a row of a database table all of whose columns are integers, or the arguments of a function which takes 3 integers as input). In contrast, homogeneous lists are the norm (other than mixing None with non-None values). When was the last time you needed a heterogeneous list?

There are no comments on this comment yet.