Menu
BASIC: Where GOTOs roam free.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
95-percent-accuracy Memes
Posts tagged with 95-percent-accuracy
Return False Works In Prod
Algorithms
Programming
Debugging
Testing
Math
2 months ago
309.5K views
1 shares
The most elegant solution to any coding problem: just return false. Who needs actual logic when you can achieve 95% accuracy by simply lying to every function call? The function literally doesn't even have a body—it's just "nope" and bounces. Technically correct is the best kind of correct, and if your stakeholders only care about that sweet 95% metric, why bother with the actual algorithm? Ship it. The beautiful irony here is that for checking prime numbers, returning false for everything actually IS a decent heuristic since most numbers aren't prime. It's like those security questions where "no" is statistically the right answer 90% of the time. Peak efficiency meets peak laziness.
Today's picks
Sweetcrispy Electric Standing Desk Adjustable Height, 40x24 Inch Sit Stand Up Home Office Desks Computer Workstation PC Work Table with 3 Memory Preset Splice Wood Board Metal Frame, White
Affiliate
$63.58
Be nice or SQL Clause will use a DELETE with no WHERE statement!
Databases
68.6K views
2 years ago
Best kind of jokes on this sub
Programming
70.2K views
3 years ago