lua-users home
lua-l archive

Re: 1-based indexing in Lua or the one without zero

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.

AltStyle によって変換されたページ (->オリジナル) /