Post AdVk3ThU3FSr40hBE8 by bernd@ruhr.social
 (DIR) More posts by bernd@ruhr.social
 (DIR) Post #AdVk12bZou1ARxlpYW by gregorni@fosstodon.org
       2024-01-02T20:43:01Z
       
       0 likes, 1 repeats
       
       As much as it conflicts with convention, I actually think arrays starting at 1 in Lua is more programmer-friendly.#Lua #arrays #programming #ProgrammingLanguages
       
 (DIR) Post #AdVk3ThU3FSr40hBE8 by bernd@ruhr.social
       2024-01-03T06:29:00Z
       
       2 likes, 0 repeats
       
       @gregorni I think the topic is overhyped anyhow. The most common use case is iterating over tables, and with ipairs() you don't even touch the index.