• SatanicNotMessianic@lemmy.ml
    ·
    6 months ago

    7 is the most random number, because when you ask someone to choose a random number between 1 and 10, most people choose 7.

    Whenever you need a random number in your code, don’t use rand() or a similar function. Use 7. It’s faster, and it’s the choice of the people.

    • mac@programming.dev
      hexagon
      ·
      edit-2
      6 months ago

      Nah not mine, just one I found and thought was pretty cool. Added the source to my rss reader and probably gonna post more from them in the future