Menu
BASIC: Where GOTOs roam free.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
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
Intermittent errors Memes
Posts tagged with Intermittent errors
Send Him Right To Jail
Javascript
Programming
Debugging
Testing
1 year ago
389.0K views
1 shares
Ah, the diabolical genius of adding a 5% chance of random failure to your code. Nothing says "I hate my fellow developers" quite like injecting TypeErrors that only appear occasionally. This is basically the programming equivalent of putting a landmine in your neighbor's garden and then obfuscating the code so nobody can find it. The person who wrote this deserves not just jail, but a special circle of developer hell where they're forced to debug Internet Explorer compatibility issues for all eternity. The best part? Those poor souls trying to reproduce the bug will spend days pulling their hair out because it only happens 1 in 20 times. Pure evil wrapped in a Math.random() call.
Today's picks
ProtoArc Ergonomic Mouse, EM11 NL Bluetooth Rechargeable Wireless Vertical Mouse, 3 Multi-Device Connectivity for Computer/PC/Laptop, 2.4GHz Optical Mice for Windows, Mac OS, Blue
Affiliate
$28.99
The Inception Of Web Development
Javascript
361.1K views
1 year ago
Centering Divs: The Hardcoded Nightmare
Frontend
305.8K views
1 year ago