Hacker News new | ask | show | jobs
by IshKebab 459 days ago
That's a very confused way of thinking about it IMO. I say:

* Start from 0 if you are indexing. I.e. you are identifying an item or its position.

* Start from 1 if you are counting. I.e. you are saying how many items there are.

It doesn't matter what it is. I don't know why you think pages in a book are somehow different to memory addresses.

1 comments

You know what I like this much better...rule of thumb updated.