Menu
HTTP 418: I'm a teapot. Yes, really.
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
11 months ago
348.4K 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
Bose QuietComfort Headphones - Wireless Bluetooth Headphones, Active Over Ear Noise Cancelling and Mic, USB-C Charging, Deep Bass, Up to 24 Hours of Playtime, White Smoke
Affiliate
$229.00
NordVPN
Sponsored
VPN
Please tell me he isn’t pointing to any of you…
Programming
97.2K views
3 years ago