pylint woes

Chris Angelico rosuav at gmail.com
Sat May 7 23:56:59 EDT 2016


On Sun, May 8, 2016 at 1:38 PM, DFS <nospam at dfs.com> wrote:
>> This code is reeking with bad habits to be broken. Assigning a throwaway
>> variable to walk the index is unnecessary when Python can do it for you
>> behind the scenes.
>
>
> Don't you think python also allocates a throwaway variable for use with zip
> and enumerate()?

Nope. But even if it did, it wouldn't matter. Concern yourself with
your code, and let the implementation take care of itself.

ChrisA



More information about the Python-list mailing list