Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
jampekka
6mo ago
0 comments
Share
You could have it like in Python tuples where 1 is a scalar and 1, is a tuple.
0 comments
default
newest
oldest
xg15
6mo ago
True, but I think that wouldn't be any more intuitive or error safe than the :: syntax.
renox
6mo ago
Error safe, the : or :: I kind of doubt it, I think that finding a typing mistake (two : instead of 1) won't be easy..
j
/
k
navigate · click thread line to collapse