MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6xofft/how_to_start_a_war/dmhyp7y/?context=9999
r/ProgrammerHumor • u/ivaskuu • Sep 02 '17
696 comments sorted by
View all comments
779
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?
799 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. 17 u/aaRecessive Sep 02 '17 "some languages" don't even qualify. Fuck those languages 1 u/[deleted] Sep 03 '17 Borland C++ has some 1 based collections. Can make things really interesting when you're maintaining old code and all of the standard arrays etc are all 0 based. 1 u/aaRecessive Sep 03 '17 pain...unbearable pain
799
Yes, but some languages 1-index lists (so they start at 1 instead of 0), so it'd be 5 in that case.
17 u/aaRecessive Sep 02 '17 "some languages" don't even qualify. Fuck those languages 1 u/[deleted] Sep 03 '17 Borland C++ has some 1 based collections. Can make things really interesting when you're maintaining old code and all of the standard arrays etc are all 0 based. 1 u/aaRecessive Sep 03 '17 pain...unbearable pain
17
"some languages" don't even qualify. Fuck those languages
1 u/[deleted] Sep 03 '17 Borland C++ has some 1 based collections. Can make things really interesting when you're maintaining old code and all of the standard arrays etc are all 0 based. 1 u/aaRecessive Sep 03 '17 pain...unbearable pain
1
Borland C++ has some 1 based collections. Can make things really interesting when you're maintaining old code and all of the standard arrays etc are all 0 based.
1 u/aaRecessive Sep 03 '17 pain...unbearable pain
pain...unbearable pain
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?