I have a quibble about this statement about 1-based indices
When a baby completes its first roundtrip around the Sun, they’re one year old, not zero years old.
Counting our ages is one instance in which we tend to start counting at 0 (like C) rather than 1 (like Lua) a newborn baby is 0 years old. We don’t phrase it that way, but they are a year away from being one year old, so they must be 0.
In Korea we count age inclusively of the year you are born, so when you are born you are one. Then on New Year’s Day you are 2. I was born late in December, so a few days after being born I was 2! Anyway…haha
I have a quibble about this statement about 1-based indices
Counting our ages is one instance in which we tend to start counting at 0 (like C) rather than 1 (like Lua) a newborn baby is 0 years old. We don’t phrase it that way, but they are a year away from being one year old, so they must be 0.
In Korea we count age inclusively of the year you are born, so when you are born you are one. Then on New Year’s Day you are 2. I was born late in December, so a few days after being born I was 2! Anyway…haha