News for hackers. Stuff that matters.
Re:Dijkstra: Why numbering should start at zero by lucumo on Friday August 21, 2009 @11:40AM (#777720)
Well, I think that there is a very important human reason to keep sticking to 0 as the start: convention. It has always been this way. Changing it would cause a whole lot of weird bugs.

To be honest, I think one reason why this grew is probably the way C handles array indexing. a[0] = *(a + 0) and this symmetry is a nice property to have in many cases. I think I use that symmetry in my MSc project a lot more than I use vec_mule/vec_mulo.

(Yeah, I'm not of a fixed mind in this matter :-))

There are no comments on this comment yet.