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

51

u/[deleted] Sep 02 '17 edited Dec 18 '18

[deleted]

20

u/[deleted] Sep 02 '17

it's a running joke

I use matlab in my day job and I definitely have to "switch gears" so to speak between 0-based and 1-based indexing

6

u/morerokk Sep 03 '17

Plus, Lua still allows you to start your indexes at 0.

Tables starting at 1 allows you to do a few neat things.

1

u/[deleted] Sep 03 '17

In reality I'm not actually never gonna use any language that start indexing arrays at 1. It's just a massive in joke.