News for hackers. Stuff that matters.
Re:Why do arrays start at 0? by wizofaus on Thursday August 25, 2022 @05:05AM (#32591324)
I'm not confusing them, my point about abbreviating "first" as 1st was that in typical speech we start counting at 1. Nobody says "let's start with item zero on the list". But programmers are stuck with having to say/think "item 0 in the array".
Re:Why do arrays start at 0? by lokedhs on Thursday August 25, 2022 @05:55AM (#32591605)
I don't disagree with you. I just don't think a programmer should be confused about the statement "item 0 is the 1'st item".