You are viewing a single thread.
View all comments View context
2 points

I’d say this is pretty readable

permalink
report
parent
reply
1 point

It jams far too much on one line. Break it up. It’s a mistake I see a lot on Python.

permalink
report
parent
reply
1 point

but if you do it as a for loop it would be slower

permalink
report
parent
reply
1 point

Unless you’re looping over more than a million elements, that’s a poor excuse.

permalink
report
parent
reply