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.
Context In Comments
1 year ago
481,134 views
0 shares
typescript-memes, technical-debt-memes, code-comments-memes, if-else-memes, overloading-memes | ProgrammerHumor.io
More Like This
Average Day Writing Typescript
2 years ago
137.0K views
0 shares
Boolean Humor Is Never False
1 year ago
380.6K views
0 shares
If Only Brendan Eich Had One More Day
1 year ago
328.2K views
0 shares
Array Dot Reverse Have Sealed Your Fate Brendan Eich
1 year ago
434.9K views
2 shares
Beelink SER3 Mini Pc, AMD Ryzen 3 3200U (2C/4T,up to 3.5 GHz),Mini Computers with 16GB DDR4 RAM 500GB M.2 SSD, 4K Dual Display, 1000Mbps LAN, USB3.2, WiFi 5, BT 5.0
Affiliate
Mini PCs
Beelink
Debugging As God Intended
3 months ago
40.2M views
0 shares
My debugging skills are above average.
4 years ago
282.4K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++