Menu
COBOL: Powering your bank since before you were born.
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
Promises we never keep Memes
Posts tagged with Promises we never keep
Context In Comments
Typescript
Javascript
Programming
Debugging
1 year ago
481.3K views
0 shares
Ah, the classic "I'll fix it later" comment that's been sitting there since 2019. The code has an if-else statement that does exactly the same thing in both branches. Someone probably spent hours debugging why their overloaded function wasn't working, then just gave up and wrote this abomination with a promise to fix it "when TypeScript understands overloading well enough." Spoiler alert: they never fixed it, and three devs have since quit rather than touch this cursed file.
Today's picks
Fenge Dual Monitor Stand, 39.4in Wood Monitor Riser for 2 Monitors, 2 Tiers Desk Shelf with Cable Mangement for Top of Desk, Computer Stand for Laptop, PC, Printer
Affiliate
$139.99
Shocking
Programming
88.3K views
4 years ago
Non devs amirite
Programming
87.5K views
3 years ago