← Back to context

Comment by m-schuetz

4 months ago

I find indices starting from zero much easier. Especially when index/pointer arithmetic is involved like converting between pixel or voxel indices and coordinates, or indexing in ring buffers. 1-based indexing is one of the reasons I eventuallz abandoned Mathematica, because it got way too cumbersome.

So the reason why you don't see many people fighting 0-indexing is because they actually prefer it.