[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: 1-based indexing in Lua
- From: Axel Kittenberger <axkibe@...>
- Date: Thu, 29 Mar 2018 10:51:28 +0200
> Moreover, it is not strictly correct to say that Lua has 1-based indexing.
Mixed 1-based and 0-based indexing is the worst possible state of affairs regarding this for a programming system.
As I replied in that survey discussion recently, where remarkably many 1-based languages are rated in the "most hated" section.
If you have to mix it is bad for one's brain and since this question likely revolved around "programming languages I have to use beside my main language" this is the result of the majority of currently popular programming languages are 0-based. Not to argue it is better by itself, but there is definitely a bandwagon effect.