News for hackers. Stuff that matters.
Re:Arguments against JSON-driven development by tantalor on Thursday August 25, 2016 @09:51AM (#12358954)
Named tuples assign meaning to each position in a tuple and allow for more readable, self-documenting code. They can be used wherever regular tuples are used, and they add the ability to access fields by name instead of position index.

https://docs.python.org/2/library/collections.html#collectio...

Re:Arguments against JSON-driven development by sevensor on Thursday August 25, 2016 @10:01AM (#12359033)
Named tuples are pretty great! I used to think their immutability was a drawback, but I'm starting to come around to the opposite point of view.