Please explain my confused me like I’m 5 (0r 4 or 6).

  • atro_city
    link
    fedilink
    127 months ago

    Programmer clutching their keyboards screaming “Arrays start at 0!”

    • ShaunaTheDead
      link
      fedilink
      27 months ago

      Ordinals are largely used for counting and when you’re counting you kind of do start a zero, most people just don’t say it. When you count 1… 2… 3… it would work just as well to start 0… 1… 2… 3… So programmers can rest easy.