[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 1-based indexing in Lua or the one without zero
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 24 Apr 2018 17:10:45 +0200
On Tue, Apr 24, 2018 at 2:21 PM, Axel Kittenberger <axkibe@gmail.com> wrote:
> Actually I was referring to using zeros in numbers, as concept. Which was
> one of the biggest inventions of humanity. The Romans hadn't a zero, which
> forced them to use a much more awkward numbering scheme.
Indeed - you had to be pretty smart to do arithmetic, so notation matters.
Talking about notation - I do recall from my days of using
mathematics, that the index of a summation was more likely to run from
1 to n. Maybe 0 to n-1 became more popular later, perhaps because of
C programmers.
- References:
- Re: 1-based indexing in Lua, KHMan
- Re: 1-based indexing in Lua, Ahmed Charles
- Re: 1-based indexing in Lua, Oliver Kroth
- 1-based indexing in Lua or the one without zero, ag
- Re: 1-based indexing in Lua or the one without zero, Francisco Olarte
- Re: 1-based indexing in Lua or the one without zero, Dirk Laurie
- Re: 1-based indexing in Lua or the one without zero, Francisco Olarte
- Re: 1-based indexing in Lua or the one without zero, Axel Kittenberger
- Re: 1-based indexing in Lua or the one without zero, Oliver Kroth
- Re: 1-based indexing in Lua or the one without zero, Axel Kittenberger