Hacker News
new
past
comments
ask
show
jobs
points
by
sameesh
3 hours ago
|
comments
by
layer8
2 hours ago
|
next
[-]
See
https://en.wikipedia.org/wiki/Zero-based_numbering
, e.g. “computer programmers might use
zeroth
in situations where others might use
first
”.
reply
by
ebb_earl_co
3 hours ago
|
prev
|
next
[-]
Lots of (most?) programming languages are 0-indexed so it feels natural for software developers and our ilk.
reply
by
SoftTalker
1 hours ago
|
parent
|
[-]
Not really. 0-based indexing is different from counting and starting with 0 in a counting context is weird. Would you ever say a set has zero elements when it actually contains a single element?
reply
by
dabbz
1 hours ago
|
prev
|
[-]
Hey everyone! I found the COBOL developer!
reply