You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- $\begingroup$ This is a weird and false history. Counting from 1 still exists because it is useful in many contexts. The question you are responding to is about why counting from zero is useful in this context. $\endgroup$Ben I.– Ben I. ♦2022-05-04 22:48:15 +00:00Commented May 4, 2022 at 22:48
- $\begingroup$ Which exact fact is false @BenI.? You don't say. Counting from zero is useful in any context, Intelpedia gives many examples unrelated to computers. $\endgroup$MarcH– MarcH2022-05-04 23:08:20 +00:00Commented May 4, 2022 at 23:08
- $\begingroup$ The second article you linked to makes one generalized mention of the problems with zero-based numbering, though since it's an article about the benefits, it isn't a surprise that it doesn't speak more to it. Zero-based counting is excellent for distances (such as arrays) and its analogs, but disallows the ordinal and cardinal count to match. If you have index zero, you now have one element, and that mismatch is permanent. And if you have zero elements, then the question of index becomes undefined.... $\endgroup$Ben I.– Ben I. ♦2022-05-05 02:58:41 +00:00Commented May 5, 2022 at 2:58
- $\begingroup$ ... Sometimes we want distance measuring, sometimes we want ordinal and cardinal to match, such as when we are counting eggs in an egg container. Both systems have their use and their place. $\endgroup$Ben I.– Ben I. ♦2022-05-05 03:00:09 +00:00Commented May 5, 2022 at 3:00
- $\begingroup$ You intimate a history in which habit, not clear usefulness, is the reason that standard counting is still around, and it's simply not true. Every school in the world teaches traditional counting to small children, and children everywhere learn that most people have ten fingers, and learn how to count them so that they arrive at that number. It's a big benefit, and should not be discounted. $\endgroup$Ben I.– Ben I. ♦2022-05-05 03:05:19 +00:00Commented May 5, 2022 at 3:05
| Show 6 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. self-learning), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you