News for hackers. Stuff that matters.
Re:Redesigning Python's named tuples by stubish on Friday September 01, 2017 @10:52AM (#15148791)
> I mean really, when was the last time you ever accessed a namedtuple by index?

They are good for database stuff. The row gets stuffed into the tuple, by index, and then you get to write readable code accessing the fields by name.

There are no comments on this comment yet.