Maybe because they didn't want to "hide the bicycle gears"?
Maybe because they didn't want to "hide the bicycle gears"?
Yes you are!! In memory, and conceptually. You're conceptually moving your finger 0 spaces from the start of the apple array.
Yeah that's because the distinction between indexing and counting is pretty much irrelevant to every day use, and to maths where you can just hand-wave syntax. So people are very used to doing it "wrong".
That's what most of the issue with this debate is. Indexing from 1 is wrong, but people are soooo used to it they just can't get over what they think is the "normal" way.
No it's not. Telling the time or measuring something is 0-indexed. But identifying a thing in a list is 1-indexed.
While I understand the CS concepts, I have never really thought about the developer UX before.