|
|
|
|
|
by matt_wulfeck
3743 days ago
|
|
But what do you gain from using nested list comprehension like that? There's no performance gain (or very, very little). The only tangible benefit I see is saving a few lines of code. And for those few lines of code you've traded the ability for new programmers to understand it easily. To me that's a net loss. |
|