Why bother with those pesky divisibility rules for 4, 100, and 400 when you can just flip a coin? This function has a 75% accuracy rate, which honestly might be better than some production code I've seen. The beauty here is that it's technically statistically sound since roughly 1 in 4 years is a leap year. Ship it and blame any bugs on "quantum uncertainty" or "probabilistic computing paradigms."
Is Leap Year
1 month ago
477,717 views
0 shares
random-memes, leap-year-memes, bad-code-memes, probability-memes, algorithm-memes | ProgrammerHumor.io
More Like This
True Story From My Time As A Game Dev
10 months ago
256.3K views
0 shares
It's silly how many languages have both a URI and a URL class
1 year ago
66.5K views
0 shares
When AI Discovers The Vim Trap
11 months ago
439.9K views
2 shares
Its a serious problem :)
4 years ago
101.0K views
0 shares
The Silent Scream Of Debugging
1 year ago
211.4K views
0 shares
Monitor Stands (affiliate)
On our Slack this morning. Too true...
3 years ago
67.7K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp