Menu
Keep calm and git commit.
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
Code smells Memes
Posts tagged with Code smells
The Nested Conditional Nightmare
Programming
Debugging
Javascript
Java
Python
5 months ago
254.9K views
0 shares
The eternal screaming void of nested conditionals. Every developer has stared into the abyss of a codebase with so many else if statements that you need archaeological tools to find where it all began. That moment when you inherit legacy code with 17 levels of if-else chains and zero comments. The horrified faces perfectly capture the existential dread of realizing you'll need to refactor this monstrosity before you can add your "simple feature." Pro tip: If your conditional logic needs its own zip code, maybe it's time for a switch statement or a strategy pattern. Your future self will thank you instead of screaming into the void.
Srsly Who Names These Laws
Programming
Java
Csharp
C++
7 months ago
416.6K views
0 shares
OH. MY. GOD. Whoever came up with this "Law of Demeter" deserves both a Nobel Prize and a slap across the face! 🤦♀️ It's literally the most RIDICULOUS way to explain encapsulation in programming history - comparing object methods to nose-picking etiquette?! I'm deceased! 💀 For the uninitiated: The Law of Demeter is actually a serious design principle that says objects should only talk to their immediate friends (direct dependencies), not friends of friends. It prevents your code from turning into a codependent mess where everyone's all up in everyone else's business. But sure, let's explain complex software architecture with nose-picking metaphors. Because THAT'S what makes computer science approachable! Next up: Garbage collection explained through bathroom etiquette! 🚽
When You Ask A Global Variable Where It's Allocated
Programming
Debugging
C++
Csharp
Java
1 year ago
497.0K views
0 shares
Global variables are the chaotic neutral entities of programming—existing everywhere and nowhere simultaneously. When you interrogate one about its memory allocation, it just stares back with those creepy wolf eyes: "I'm neither stack nor heap but another secret third thing." It's like that roommate who somehow lives in your apartment but never pays rent or shows up on the lease. The memory management gods are watching, and they're judging your life choices.
Code Analyzer Lore
Java
Debugging
Programming
Testing
Backend
1 year ago
282.8K views
1 shares
First frame: Raging at a linter suggestion to replace new String().getClass() with String.class because "nobody writes code like this." Second frame: Complete attitude reversal after hearing why the rule exists, suddenly claiming to have "seen such things 11 times, as a matter of fact." The duality of developers: loudly rejecting best practices until the moment they realize they've been writing garbage code their entire career. Then suddenly they were the code quality champion all along! The mental gymnastics deserve an Olympic gold medal.
Nested If Statements Be Like
Programming
Debugging
Algorithms
C++
Java
1 year ago
431.4K views
3 shares
Ah, the endless scroll of nested if statements! This comic perfectly captures that moment when your code logic gets so deep you need a spelunking team to find your way back out. The comic just keeps going... and going... and going... just like that conditional nightmare you wrote at 3 AM that seemed like a good idea at the time. By the time you reach the end, you've forgotten what the original condition even was! This is why senior devs wake up in cold sweats screaming "REFACTOR!" and why code reviewers contemplate career changes. The real horror isn't the monster under your bed—it's the 17 nested if statements waiting for you in Monday's code review.
Today's picks
Either Experience Means Anything Or It Does Not
Programming
2.0M views
1 day ago
The things we have to do for code review these days
Programming
70.5K views
3 years ago
Tried to post this to r/github... boy, lots of Microsoft fanboys over there :)
Linux
71.5K views
3 years ago