Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
yummyfajitas
15y ago
0 comments
Share
While Guido is not keen on reduce, I don't think he has any desire to eliminate list comprehensions (which are equivalent to map/filter).
0 comments
default
newest
oldest
silentbicycle
15y ago
In other words, list comprehensions are the Pythonic version of same.
sunqiang
15y ago
and Generator Expressions[1], a lazy version of list comprehensions [1]:
http://www.python.org/dev/peps/pep-0289/
silentbicycle
15y ago
Yeah, but generators have been done much better. Look at Icon, Lua, or Prolog.
j
/
k
navigate · click thread line to collapse