Hacker News new | ask | show | jobs
by pradocchia 4388 days ago
I will grant that the first form is clearly [0, 1, 2], while the second form could be construed as [0, [1, 2]].

HOWEVER, given that there is no "and" between 0 & 1, and that 1 & 2 are not like things, I believe most readers will naturally interpret the list as [0, 1, 2] and not [0, [1, 2]]. There are enough other cues that risk of misinterpretation is very low. Anyone who does interpret as [0, [1, 2]] is probably being willfully obtuse.