Transcript:

[A computer program.]

int getRandomNumber()
{
   return 4; // chosen by fair dice roll.
             // guaranteed to be random.
}

Hover Text:

RFC 1149.5 specifies 4 as the standard IEEE-vetted random number.

  • Lmaydev@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    It is a random number and returning the same number every time is technically valid. Just a poor implementation.