Re:Python Multiple Assignment Is a Puzzle
by falcor84 on Sunday July 27, 2014 @07:52AM
(#8092517)
Just wanted to add a more functional solution:
It's probably not as efficient, but remember the first rule of optimization: http://c2.com/cgi/wiki?FirstRuleOfOptimization
[ Parent
| on HN ]
I wonder why so much discussion about arbitrary rules of assignment when the solution to the problem can be written (and is more readable) without ever mentioning this complicated "assignment" feature.