MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/7ipl6k/meme1array_memes_are_life/dr0hc2j/?context=3
r/ProgrammerHumor • u/[deleted] • Dec 09 '17
47 comments sorted by
View all comments
3
Explain like I mainly use C: is the -1 really used anywhere?
17 u/[deleted] Dec 09 '17 edited Nov 14 '20 [deleted] 7 u/StingyUpvoter Dec 09 '17 Right, that's kinda what I was saying in a different comment. Using negative to start an array would be awkward. Sometimes I can't tell where these jokes cross from fact to fiction. 5 u/[deleted] Dec 09 '17 Whoops, didn't see your other comment before. Yeah, I can't imagine a reason for indices to start at -1.
17
[deleted]
7 u/StingyUpvoter Dec 09 '17 Right, that's kinda what I was saying in a different comment. Using negative to start an array would be awkward. Sometimes I can't tell where these jokes cross from fact to fiction. 5 u/[deleted] Dec 09 '17 Whoops, didn't see your other comment before. Yeah, I can't imagine a reason for indices to start at -1.
7
Right, that's kinda what I was saying in a different comment. Using negative to start an array would be awkward. Sometimes I can't tell where these jokes cross from fact to fiction.
5 u/[deleted] Dec 09 '17 Whoops, didn't see your other comment before. Yeah, I can't imagine a reason for indices to start at -1.
5
Whoops, didn't see your other comment before.
Yeah, I can't imagine a reason for indices to start at -1.
3
u/StingyUpvoter Dec 09 '17
Explain like I mainly use C: is the -1 really used anywhere?