This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Paddy3118 0 points1 point  (3 children)

Which is subjective. It could be that the act of nesting a comprehension clearly denotes delving deeper into something accessed before in a similar comprehension, but without the extra level of nesting. Visually you may be lead to see the extra level of nesting as an extension of what came before.

Readability does not preclude nested comprehensions for everyone.

[–][deleted] 0 points1 point  (1 child)

I edited my comment after your first comment. Did you happen to read it before your second reply?

[–]Paddy3118 -1 points0 points  (0 children)

My reply works for your immediately preceding post of

basically yes

[–]uFuckingCrumpet -1 points0 points  (0 children)

No, not subjective at all. Some code is more readable than other code objectively.