Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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}.


What about supporting <1, 2, 3> as well, and eventually deprecating the existing way? The end result would be much nicer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: