News for hackers. Stuff that matters.
Re:Redesigning Python's named tuples by devnonymous on Friday September 01, 2017 @04:25AM (#15146972)
Object destructuring is tuple unpacking in python which is exactly what the code example does. What the parent was remarking on was caring about the performance of that rather than the ability.
Re:Redesigning Python's named tuples by the_mitsuhiko on Friday September 01, 2017 @06:31AM (#15147337)
Except in javascript you can unpack by name. This would solve this issue as well.