• thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    13 days ago

    Ah I see, that makes it clear. I guess it is a “good enough” solution where it doesn’t matter in real world.

    • pet the cat, walk the dog@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      13 days 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.