you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 9 months ago

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.

  • source
  • parent