miniblog.
← Back to all posts
Sep 29, 2010 at 18:50
Python learners beware: One minute you're learning #Python with list comprehensions, the next you are grokking map, reduce and filter.
Wilfred Hughes
Related Posts
Jul 30, 2014 at 17:22
Python list comprehensions are rarely readable when nested. [y for x in [[1, 2], [3, 4]] if x for y in x if y]
Wilfred Hughes
Shared words: comprehensions, Python, list Score: 66.4
Jul 8, 2014 at 10:52
Now that's what I call a Python list comprehension!
https://stackoverflow.com/a/13658674/509706
Wilfred Hughes
Shared words: comprehensions, Python, list Score: 66.4
May 12, 2014 at 09:57
Python 3 fact of the day: map and filter are lazy in Python 3 (which is a change from Python 2).
Wilfred Hughes
Shared words: Python, map, filter Score: 47.5