Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
wizofaus
on Aug 25, 2022
|
parent
|
context
|
favorite
| on:
Why do arrays start at 0?
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".
lokedhs
on Aug 25, 2022
[–]
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".
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: