Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why do arrays start at 0?. Parent comment
Increment what?
> When you count stars in the sky you don't say "0, 1, 2".
No, you say, "I'm going to start counting stars now. Okay, 1, 2, ...".
The preparation part is the zero. You counted stars before and reached some number; you're not starting at that number.
There are no comments on this comment yet.
Increment what?
> When you count stars in the sky you don't say "0, 1, 2".
No, you say, "I'm going to start counting stars now. Okay, 1, 2, ...".
The preparation part is the zero. You counted stars before and reached some number; you're not starting at that number.