Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nicoburns
· 4y ago · 0 comments
I really like the ruby syntax. JavaScript now has the problem that it can't make code blocks expressions because it's ambiguous with object literal shorthand.
Comments
[–]
tln
4y ago
JavaScript has labels, so objects have always been ambiguous with blocks
[–]
BiteCode_dev
4y ago
Python will never have block expression, given how limited lambda is already, so that's not a concern.