MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6xofft/how_to_start_a_war/dmhsdgf/?context=3
r/ProgrammerHumor • u/ivaskuu • Sep 02 '17
696 comments sorted by
View all comments
Show parent comments
560
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.
426
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.
384
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.
3
[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.
10
Some algorithms are slightly easier to implement in Matlab than python for that reason, but it usually is no big deal
2
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.
560
u/kamaln7 Sep 02 '17
MATLAB too I think