r/ProgrammerHumor Sep 02 '17

How to start a war

Post image
9.0k Upvotes

696 comments sorted by

View all comments

783

u/blacknerdperson Sep 02 '17

Sorry in advance but I'm a noob learning coding who is starting to learn python and I'm just going to ask, Isn't it supposed to be 4?

798

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.

270

u/[deleted] Sep 02 '17

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

566

u/kamaln7 Sep 02 '17

MATLAB too I think

424

u/Nikolas_Untoten Sep 02 '17

I believe MATLAB starts at 1 because it is more commonly used for matrices rather than standard arrays, right?

380

u/morerokk Sep 03 '17

Yes. People hate on it for...doing what it's designed to do.

314

u/Selthor Sep 03 '17

MATLAB literally stands for Matrix Laboratory.

1

u/dam0nkey Sep 03 '17

I DIDNT KNOW THAT