I shamelessly stole this from Reddit

  • sundray@lemmus.org
    link
    fedilink
    English
    arrow-up
    16
    ·
    2 months ago

    Because programmers start counting at 0! 😆

    Ok, that was funnier in my head…

    • Rusty@lemmy.ca
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      2
      ·
      2 months ago

      I don’t like to be that guy, but 0! equals to 1

    • andioop@programming.dev
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 months ago

      I’ll be the idiot who doesn’t get the joke.

      I recognize that programmers often start counting at 0.

      I’m not sure how this connects to 0 being lonely, since that means it’s getting used. Even if the programmers are lonely, I still do not get it. Can someone explain?

      • sundray@lemmus.org
        link
        fedilink
        English
        arrow-up
        10
        ·
        2 months ago

        There’s an old saying that goes, “One is the loneliest number.” Non-programmers usually start counting at one, making it the first number in the count.

        Programmers generally have to start counting at 0. So to them, the first number is 0. So the joke is that a non-programmer would say “one is the loneliest number” a programmer would say “zero is the loneliest number” because the numbers they start with when counting are different.