Y
Hacker News
new
|
ask
|
show
|
jobs
by
uraza
4844 days ago
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}.
1 comments
sambe
4844 days ago
What about supporting <1, 2, 3> as well, and eventually deprecating the existing way? The end result would be much nicer.
link