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

You could have it like in Python tuples where 1 is a scalar and 1, is a tuple.


True, but I think that wouldn't be any more intuitive or error safe than the :: syntax.


Error safe, the : or :: I kind of doubt it, I think that finding a typing mistake (two : instead of 1) won't be easy..



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: