Fair Dice Roll Returns Four
Work like a captain, play like a pirate. 🏴☠️ int getRandomNumber() { return 4; // chosen by fair dice roll. // guaranteed to be random. }
A video shows a Telegram chat sending animated dice, followed by a Google search for Telegram’s GitHub repository and a code search result. The punchline is a deliberately absurd random-number function that always returns 4, claiming it was chosen by a fair dice roll and is therefore guaranteed to be random. The joke mocks programmers’ questionable definitions of randomness and the overconfident style of code comments. EN: A video shows a Telegram chat sending animated dice, followed by a Google search for Telegram’s GitHub repository and a code search result. The punchline is a deliberately absurd random-number function that always returns 4, claiming it was chosen by a fair dice roll and is therefore guaranteed to be random. The joke mocks programmers’ questionable definitions of randomness and the overconfident style of code comments.
- @ithueti / 2199 2020-03-30
- Type
- video, 0:38
- Size
- 800×800 · 5.8 MiB
- Mood
- sarcastic, absurd
- Language
- en
- Added