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
7 months ago
368,356 views
0 shares
typescript-memes, technical-debt-memes, code-comments-memes, if-else-memes, overloading-memes | ProgrammerHumor.io
More Like This
Calm Down I Am Going To Use The Variable
5 months ago
348.2K views
0 shares
To type or not to type
4 years ago
146.8K views
0 shares
This Post Was Made By The Javascript Gang
1 year ago
241.8K views
0 shares
Next Nest Nuxt: The JavaScript Name Game
10 months ago
305.3K views
0 shares
The Variable Name Heartbreak
9 months ago
243.5K views
0 shares
Chill Language
2 months ago
371.4K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp