Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Aqwis
· 13y ago · 0 comments
Too bad it doesn't have list comprehensions. That's something I sorely miss when writing most mainstream languages apart from Python. (I know CoffeeScript has them.)
Comments
[–]
cameronkknight
13y ago
Actually it does have list comprehensions. You just use a for loop (or any loop) as an expression and it evaluates to an array.