Menu
TCP: I got your packets, I promise.
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
366.1K 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
Where's The Love
Programming
149.4M views
6 days ago
oop bad
Programming
98.6K views
5 years ago
uh, got it. thanks Bing
Python
217.9K views
3 years ago