On Sun, 4 Jun 2006, John Connors wrote:
> The first one is lists... I can't for the life of me understand why a
> list starts at zero. In everything else in life other than programming
> the 1st item in a list is always 1.
Edsger Dijkstra wrote a technical note on why zero is a more natural
starting point:
http://www.cs.utexas.edu/users/EWD/ewd08xx/EWD831.PDF
Also, programming is one of those fields where appreciating the null case
can be advantageous.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor