3 ms·
And that sequential tables are 1-indexed, not 0-indexed like nearly every other language on the planet.
by MostAwesomeDude 15y ago
And that sequential tables are 1-indexed, not 0-indexed like nearly every other language on the planet.
- DisposaBoy 15y agoIf the 1-base convention confuses you then it's highly likely that you're either new to the language or doing it wrong, the same way many people attempt to write C code and call it C++.
- silentbicycle 15y agoThat was intended to make it less confusing when non-programmers use it as a configuration language. It's a bit annoying, but the language is consistent about it: if all you want is a tiny library for JSON-like config files or data dumps, it cleanly scales down. If you want a powerful, modern hacking language, it's there, but the advanced features (tail-call optimization, co-routines, etc.) never get in the way.