4 ms·
There are good reasons to start counting at 0 beyond convention. Dijkstra wrote a small essay on the topic in 1982 called "Why numbering should start at zero."
by learc83 8y ago
There are good reasons to start counting at 0 beyond convention. Dijkstra wrote a small essay on the topic in 1982 called "Why numbering should start at zero."
http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EW...
- pjmlp 8y agoAs someone that started programming in languages that count from 1, I kind of disagree with that essay. Specially when dealing with Algol derived languages, where the indexes can be specified in a flexible way.