[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A Brief Totally Accurate History Of Programming Languages
- From: David Crayford <dcrayford@...>
- Date: Thu, 29 Mar 2018 13:46:35 +0800
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 :)
https://medium.com/@caspervonb/a-brief-totally-accurate-history-of-programming-languages-cd93ec806124