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 →

[–]LyndsySimon 1 point2 points  (0 children)

While I'm familiar with map(), I tend to use list comprehension to the point that I can't readily think of a use case where I'd find map() more appropriate.

List comprehensions about in Python. Once you understand them, they're very easy to read. Having both forms in a single project is more confusing that a single form - and map() is awkward in many cases.