Re:Edsger Dijkstra's note on starting array indices at 0 (pd...
by sltkr on Tuesday June 21, 2011 @11:34PM
(#2681593)
Dijkstra's point is that you should start counting at 0, so if you want to generate the first five ordinals, you would write [0:5) which yields {0,1,2,3,4} as expected.
[ Parent
| on HN ]
There are no comments on this comment yet.