• SatanicNotMessianic
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    5 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.

    • enkers@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      5 months ago

      This seems like you’re introducing selection bias. Do you really want laypersons to influence your code? You should poll a representative sample of coders for a random number, and use the mode of that.

      Here, I’ll start you off: 7

      • SatanicNotMessianic
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        I’m good with that. My current number of upvotes is the most random number, which I also find acceptable.