[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Request for Lua 6 to have 0-based indexing
- From: Flyer31 Test <flyer31@...>
- Date: Sun, 14 Nov 2021 23:30:51 +0100
As I reported 1 week ago I just introduced such an indexing scheme for
my metatable driven "string buffers" .. (report "RAM restricted
Lua")... but please do not kill me... I anyway use index range 1... n
for my string indices (as normal in Lua) and NOT 0...n-1 ... . I think
for programming beginners (and also for other reasons... ), this
indexing 1... in Lua is very nice and useful... .
On Sun, Nov 14, 2021 at 11:17 PM Steven Degutis <email@example.com> wrote:
> Hello Lua community and Lua team,
> It’s true this would be breaking, but Lua has traditionally not been afraid of breaking backwards compatibility in some important things, even in 5.x versions. Since this is a bigger jump, I’m recommending it for Lua 6.