68
Lua Tables - The Swiss Army Knife of Data Structures
(slicker.me)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I'm guessing it's more of a stylistic choice. Lisps typically work the same way, except they can retrieve the full map structure even if some fields contain nil as the value.
Unfortunately, Lua's approach hinders exchanging structures with null values with other environments: see my comment here.