in reply to I prefer my indexes to start at:

If it starts at 1 it's an item number, not an item index (which starts at 0). Adopting index/number as a distinguishing nomenclature for the two cases has saved a lot of confusion at $work (ignoring the convention on the other hand has caused a lot of confusion and wasted time).

Any other base number gets the appellation "mistake", although there are some places where a non 0 or 1 base can help clean unusual code up considerably.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Replies are listed 'Best First'.
Re^2: I prefer my indexes to start at:
by BillKSmith (Monsignor) on Sep 13, 2022 at 14:48 UTC
    Definitely a step in the right direction, but it does not solve the problem. Should we reference array elements by 'item number' or 'index number'? Clearly the choice depends on the application.
    Bill