Re:Conflating pointers with arrays: C's biggest mistake? (2009)
by Athas on Sunday July 22, 2018 @04:11AM
(#17585797)
Hell, you don't even have to go to slicing for language-supported multidimensional arrays to make sense. Simply being able to index with a[i][j] is so much nicer than the manual flat addressing a[i*n+j] that you end up with in C. (a[i][j] does work in C, but only if the array dimensions are constants.)
[ Parent
| on HN ]
There are no comments on this comment yet.