Where to start counting, 0 or 1?

https://news.ycombinator.com/item?id=492816
by joseakle • 17 years ago
3 7 17 years ago

My hypothesis: It's more usual to start with 0 when counting steps and with 1 when counting things.

Maybe that's why programmers start with 0, they usually count steps. Age also starts at 0, nobody is born being 1 year old, although we are living our 1st year of life. Races also start at 0. When you want to know how many eggs are in the basket it makes little sense to say, oh i have an empty basket, 0 eggs, let's add some, now i have 1 egg, 2 eggs, etc.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com