• lime!@feddit.nu
    link
    fedilink
    arrow-up
    1
    ·
    4 hours ago

    because making sure offsets are correct come up a lot when you’re memory-mapping IO.

    • SorryQuick@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      Right but whether they’re correct or not doesn’t depend on the name you use. Every programmer worth his name knows arrays start at offset zero even if you don’t call it that.