Electronic/World Wide Web>Internet Article: Dijkstra, Edsger (11 August 1982), Why numbering should start at zero, Retrieved on 2019-11-08Source Material [www.cs.utexas.edu]
Folksonomies: computer science Memes
08 NOV 2019
Why numbering should start at zero
When dealing with a sequence of length N, the elements of which we wish to distinguish by subscript, the next vexing question is what subscript value to assign to its starting element. Adhering to convention a) yields, when starting with subscript 1, the subscript range 1 ≤ i < N 1; starting with 0, however, gives the nicer range 0 ≤ i < N. So let us let our ordinals start at zero: an element's ordinal (subscript) equals the number of elements preceding it in the sequence. And the ...Folksonomies: computer science
Folksonomies: computer science