Re:Show HN: Lua/LuaJIT with C/C++/Java/JavaScript syntax
by mkl on Sunday December 30, 2018 @06:57PM
(#18792080)
It looks like it's still 1-based currently, is that right? 1-based arrays have been the biggest obstacle to me using Lua.
[ Parent
| on HN ]
Re:Show HN: Lua/LuaJIT with C/C++/Java/JavaScript syntax
by spc476 on Sunday December 30, 2018 @08:46PM
(#18792520)
I did years of assembly, then C, and now Lua. I've yet to find the 1-based indexing to be an issue, and that's even having written a few C modules to manipulate Lua arrays. What is it about the 1-based arrays that is so off-putting?