Menu
One missing comma can ruin your whole day.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
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
Lookup tables Memes
Posts tagged with Lookup tables
If-Else Purgatory: A Developer's Nightmare
Programming
Debugging
Algorithms
1 year ago
231.4K views
0 shares
OH. MY. GOD. The absolute TRAGEDY of having to manually code a lookup table with if-else statements when all you want is a simple dictionary or switch-case! 😱 This poor soul is writing the programming equivalent of War and Peace just to map numbers to boolean values! The code just keeps scrolling and scrolling like my ex's text messages after I told them "we need to talk." Whoever thought this was the best approach clearly enjoys emotional pain and suffering. There's literally like 17 better ways to do this but here we are, trapped in if-else purgatory! And the tweet "God I wish there was an easier way to do this" is just *chef's kiss* peak developer irony.
Today's picks
Fuck If I Know
Programming
1.7M views
1 day ago
From 0 to 10, how bad is my code for a gamejam?
Programming
90.3K views
1 year ago
GearScouts.com
Sponsored
Power stations