The Picard Maneuver@lemmy.worldM to Lemmy Shitpost@lemmy.world · 28 days agoIt's a matter of perspectivelemmy.worldimagemessage-square107fedilinkarrow-up1666arrow-down124
arrow-up1642arrow-down1imageIt's a matter of perspectivelemmy.worldThe Picard Maneuver@lemmy.worldM to Lemmy Shitpost@lemmy.world · 28 days agomessage-square107fedilink
minus-squareTante_Meier@discuss.tchncs.delinkfedilinkarrow-up5arrow-down4·27 days ago0-based indexing vs. 1-based indexing
minus-squareelrik@lemmy.worldlinkfedilinkEnglisharrow-up5·27 days agoWhat? The first ordinal you start counting at doesn’t change the total count, and alternatively the last item would be indexed at 2 if you used 0-based indexing.
minus-squareDon Piano@feddit.orglinkfedilinkarrow-up5·27 days ago1-based indexing vs. 2-based indexing
0-based indexing vs. 1-based indexing
What? The first ordinal you start counting at doesn’t change the total count, and alternatively the last item would be indexed at 2 if you used 0-based indexing.
1-based indexing vs. 2-based indexing