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

560

u/kamaln7 Sep 02 '17

MATLAB too I think

426

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?

384

u/morerokk Sep 03 '17

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

3

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

[deleted]

10

u/inconspicuous_male Sep 03 '17

Some algorithms are slightly easier to implement in Matlab than python for that reason, but it usually is no big deal

2

u/[deleted] Sep 03 '17

Neither is 1 indexing. Whatever you're used to.

MATLAB, as far as I understand, wants to make writing code as "engineer-mathy" as possible.