Re:Remove the ++ and –- operators
by msellout on Thursday December 03, 2015 @07:23PM
(#10673775)
Why are you incrementing inside a Python for-loop? Are you familiar with ``enumerate``? In most situations, Python provides an iterator that tracks state for you and it's not necessary to increment state explicitly in the loop.
[ Parent
| on HN ]
There are no comments on this comment yet.