baatliwala@lemmy.world to Programmer Humor@programming.dev · 8 days agoLook at the way he writes for loops too smhlemmy.worldimagemessage-square40linkfedilinkarrow-up1452arrow-down112
arrow-up1440arrow-down1imageLook at the way he writes for loops too smhlemmy.worldbaatliwala@lemmy.world to Programmer Humor@programming.dev · 8 days agomessage-square40linkfedilink
minus-squarevocornflakes@lemmy.worldlinkfedilinkEnglisharrow-up2·7 days agoOh but Lua is so much worse than that. Table keys (array is not a thing in Lua) can be whatever you want. Especially even negative, and not like how python does it. 1 is just the convention.
Oh but Lua is so much worse than that. Table keys (array is not a thing in Lua) can be whatever you want. Especially even negative, and not like how python does it. 1 is just the convention.