Ah yes, the classic "let's handle years with a switch statement" approach. Some poor developer back in 1999 was like:switch(year) {
case 2020: // pandemic mode
case 2021: // still pandemic
case 2022: // recovery mode
case 2023: // normal-ish
case 2024: // election chaos
// TODO: add more years later
default: trainControl.panic();
}
And then they quit, got promoted, or died before anyone remembered to add 2025. Twenty-five years after Y2K and we're still writing software like time is a finite concept. This is why we can't have nice things... or functioning trains, apparently.
Ok Who Forgot To Put 2025 In The Switch Statement
1 year ago
449,786 views
0 shares
y2k-memes, legacy-code-memes, switch-statement-memes, date-handling-memes, software-failure-memes | ProgrammerHumor.io
More Like This
When you cannot refactor the code... because of a tight deadline
3 years ago
103.6K views
0 shares
Frontend Vs. Backend
1 year ago
363.3K views
0 shares
If Time Is Integer Use Laps
1 year ago
272.9K views
0 shares
I Have Sympathy For Your Responsive Nightmares
11 months ago
388.1K views
0 shares
AOKCOS Dual Monitor Stand for 12-27 Inch Wooden Base and Removable Metal Feet, Full Adjustable VESA Monitor Mount Each up Load 22lbs, Portable Monitor Arm for LED/OLED Screen for Women/Men, Walnut
Affiliate
Monitor Stands
AOKCOS
Life Is Empty Now
1 year ago
277.0K views
0 shares
Make No Mistakes
7 months ago
518.3K views
1 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++