• spauldo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    10 months ago

    Also indexes. Once you’ve been bitten enough by off-by-one errors this actually becomes a pretty handy double-check.

    • darcy@sh.itjust.works
      cake
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      indexes in memory can be thought of as the address of the leftmost bit in a byte (container)

      • spauldo@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 months ago

        Sorry, too busy counting digital outputs on Modicon PLCs to think about that stuff.