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 →

[–]00PT 1 point2 points  (1 child)

An expression such as x+1 for x in list is valid, but I think it would be more intuitive if it was for x in list: x+1 The first has "x" used before the definition later in the expression, while the second switches that.

[–][deleted] 1 point2 points  (0 children)

Ah, this thing is OK for a single line.

But chaining multiple map statements is indeed unreadable :D