Tbf this is only weird when you're thinking of lua as having arrays at all, which it doesn't. It's basically the same in python and doesn't look so weird.
a = {} for i in range(-5, 5): a[i] = i for i in range(-5, 5): print(a[i])
=> More informations about this toot | View the thread | More toots from mdiluz@mastodon.gamedev.place
text/gemini
This content has been proxied by September (3851b).