Gollum@feddit.org to Programmer Humor@programming.dev · 1 year agoAnother smart movefeddit.orgimagemessage-square5linkfedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 1 year agomessage-square5linkfedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up1·1 year agoIn Lua all arrays are just dictionaries with integer keys, a[0] will work just fine. It’s just that all built-in functions will expect arrays that start with index 1.
minus-squarexmunk@sh.itjust.workslinkfedilinkarrow-up1·1 year agoYour argument isn’t making me any happier - it just fills me with more rage.
Lua had been banned from the chat
In Lua all arrays are just dictionaries with integer keys, a[0] will work just fine. It’s just that all built-in functions will expect arrays that start with index 1.
Your argument isn’t making me any happier - it just fills me with more rage.