|
|
|
|
|
by icebraining
3669 days ago
|
|
And they're just wrong; that goes directly against the Zen of Python: Simple is better than complex.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
I too have a tendency to overuse list comprehensions over regular loops, but when they start nesting I know it's almost always time to break it up. |
|