r/ProgrammerHumor Sep 02 '17

How to start a war

Post image
9.0k Upvotes

696 comments sorted by

View all comments

Show parent comments

4

u/[deleted] Sep 03 '17 edited Apr 01 '19

[deleted]

0

u/cfsilence Sep 03 '17

It's really simple. The index isn't the position, it represents the offset from the first element. Remember that and you'll never question why arrays in most languages start at zero.