lua-users home
lua-l archive

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

Lua is the most commonly used, though. ColdFusion also gets some nitpicks about it but there's so many other reasons to pick on CF.

On Thu, Mar 29, 2018, 12:47 AM David Crayford <> wrote:
I've never understood why Lua attracts so much opprobrium for 1 based
indexing. I started my career working on mainframes and all the
languages had 1 based indexing (COBOL, PL1, Fortran, REXX).
It wasn't until I started using C that I had ever used a language with 0
based indexing which makes sense for a language where arrays decay to
pointers. IMO, the Lua authors got it right.

On 28/03/2018 4:41 PM, Peter Pimley wrote:
> Lua gets a mention :)

Ryan | Charles <>
Software Developer / System Administrator