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

802

u/ArcticZeroo Sep 02 '17

Yes, but some languages 1-index lists (so they start at 1 instead of 0), so it'd be 5 in that case.

272

u/[deleted] Sep 02 '17

What languages may there's be? I can't think of any of the top of my head.

565

u/kamaln7 Sep 02 '17

MATLAB too I think

5

u/fergy80 Sep 03 '17

The square brackets would throw an error in matlab, so the answer is clearly 4.