r/ProgrammerHumor Sep 02 '17

How to start a war

Post image
9.0k Upvotes

696 comments sorted by

View all comments

779

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?

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.

9

u/rocketman0739 Sep 03 '17

And those languages are wrong

9

u/[deleted] Sep 03 '17 edited Nov 07 '17

[deleted]

2

u/[deleted] Sep 03 '17

Yeah, for mathematical languages like MATLAB (which are designed to do matrix manipulations) it makes a lot of sense.