• spauldo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

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

    • darcy
      link
      fedilink
      arrow-up
      1
      ·
      1 year 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
        ·
        1 year ago

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