The eternal suffering of forgetting to add break statements in switch cases. The code just keeps on executing through every subsequent case like it's on a mission to ruin your day. And then you spend three hours debugging why your function is returning seventeen different values when it should only return one. The worst part? The compiler sits there silently judging you instead of throwing a warning. Thanks for nothing, compiler.
Why Do We Need Breaks In Switches Again
10 months ago
275,995 views
0 shares
programming-memes, debugging-memes, switch-memes, syntax-memes, fallthrough-memes | ProgrammerHumor.io
More Like This
Day 1 code reviews at Twitter HQ [OC]
2 years ago
50.6K views
0 shares
The Three-Headed Dragon Of Developer Tools
10 months ago
203.5K views
1 shares
Was Hiring My Friend A Mistake
2 months ago
268.5K views
0 shares
Non-programmers be like
2 years ago
98.7K views
0 shares
Why is XKCD so right so often?
1 year ago
49.7K views
0 shares
Tired of adapter, really!
3 years ago
61.5K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++
Csharp