Re:A Look at the Design of Lua
by sulam on Wednesday October 31, 2018 @04:28PM
(#18349022)
Yeah, this is fine until I want the last element of an array. Then I have to iterate it to find it. And writing a loop to get the last element of an array is crazy-town.
[ Parent
| on HN ]
Have you actually used Lua? You don't need to iterate to get the last element of an array.