[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: Levente <leventelist@...>
- Date: Tue, 24 Apr 2018 10:47:21 +0200
I think this thread looks like an ancient debate weather to use 0 or
not. Ancient people didn't use 0 at everyday business, hence 0 was
regarded as the number of God. I mean zero is the probability to
become anything. Other integers like 1,2,3... are incarnations of the
holy NUMBER itself. Zero is something different. At least ancient
people thought like this.
IMHO, there are two kind of person.
1. who start indexing from one, and
1. who start indexing from zero.
It is quite interesting to see these emails as a philosopher. So
please, please go on!
Levente
On Tue, Apr 24, 2018 at 10:24 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 2018-04-23 21:40 GMT+02:00 Sean Conner <sean@conman.org>:
>
>> Oh, I know:
>>
>> LET x BECOME x + 1
>>
>> There! That's better!
>>
>> -spc (Do I need to add the <sarcasm> tag here?)
>
> No, this whole thread is like the tired jokes that people tell and
> retell to kill time.
>
> Allow me to hijack it.
>
> I grew up as a programmer in a time when there were only three
> languages: FORTRAN, COBOL and Assembler. (There was theoretically
> Algol which you occasionally saw printed but nobody except professors
> had a compiler for it, and that compiler would only run on the
> departmental computer.) I did a lot of stuff in Assembler, including a
> program that would play Schubert's Military March on a portable radio.
> I had a colleague by the name of Andrzej Dąbrowski who knew the timing
> of all the CPU instructions by heart and took delight in chipping
> microseconds off the running time of inner loops.
>
> We wrote everything in capitals and our arrays started at index 1.
>
> Ah, those were the days ...
>
- 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, Sean Conner
- Re: 1-based indexing in Lua or the one without zero, Dirk Laurie