3 ms·
Isn't this the classic fence post vs fence section analogy? I like this statement from Djikstra: "an element's ordinal ... equals the number of elements precedi
by curiousDog 11y ago
Isn't this the classic fence post vs fence section analogy? I like this statement from Djikstra: "an element's ordinal ... equals the number of elements preceding it in the sequence"[1]
[1]http://c2.com/cgi/wiki?WhyNumberingShouldStartAtZero http://c2.com/cgi/wiki?WhyNumberingShouldStartAtZero
Another nice link: http://betterexplained.com/articles/learning-how-to-count-avoiding-the-fencepost-problem/ http://betterexplained.com/articles/learning-how-to-count-av...