Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
silentbicycle
· 16y ago · 0 comments
In other words, list comprehensions are the Pythonic version of same.
Comments
[–]
sunqiang
16y ago
and Generator Expressions[1], a lazy version of list comprehensions [1]:
http://www.python.org/dev/peps/pep-0289/
[–]
silentbicycle
OP
16y ago
Yeah, but generators have been done much better. Look at Icon, Lua, or Prolog.