Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
uraza
· 13y ago · 0 comments
set = <> looks like the other empty container literals, but it's not consistent with the literal notation for sets with one or more elements: my_set = {1,2,3}.
Comments
[–]
sambe
13y ago
What about supporting <1, 2, 3> as well, and eventually deprecating the existing way? The end result would be much nicer.