Someone really said "what if I manually hardcoded every single possible outcome in rock-paper-scissors instead of using, you know, basic logic?" Six separate if-statements checking every combination like they're getting paid per line of code. Rock beats scissors? Check. Rock ties with rock? Check. Rock loses to paper? Check. Now repeat for scissors...
The beautiful part is that young programmers genuinely think more code = better code. Why write a simple win/loss comparison function when you can create a 40-line monstrosity that does the exact same thing? It's like using a sledgehammer to crack a walnut, except the sledgehammer is made of spaghetti code and the walnut is basic game logic.
Fun fact: This could be reduced to like 5 lines with a dictionary/hashmap or even simpler with modulo arithmetic. But where's the fun in efficiency when you can manually type out every permutation like a human truth table?
13 Year Old Me Really Liked Inefficient Code
22 days ago
70,096,797 views
0 shares
python-memes, beginner-mistakes-memes, inefficient-code-memes, rock-paper-scissors-memes, code-smell-memes | ProgrammerHumor.io
More Like This
Don't forget to break your loops
5 years ago
270.0K views
0 shares
young kids these days
4 years ago
82.5K views
0 shares
I recently saw this Job posting and I cant stop laughing
4 years ago
368.4K views
0 shares
Finally Pi-thon
11 months ago
390.3K views
0 shares
2020 Apple Mac Mini with Apple M1 Chip (8GB RAM, 512GB SSD Storage) - Silver (Renewed)
Affiliate
Mini PCs
Apple
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++