3 ms·
Followup: Should order be important for a Tuple under a system that defines a Tuple as an immutable ordering? That is, whatever your philosophical issues with
by joshuamorton 9y ago
Followup:
Should order be important for a Tuple under a system that defines a Tuple as an immutable ordering?
That is, whatever your philosophical issues with namedtuple ordering, in python, a tuple is an immutable ordered list of things. In practice, tuples have taken the role of being type-heterogenous, known length, records.
One might then reasonably expect a namedtuple to be a type-heterogneous, known length, record, where attributes are named.