Skip to content
DevMeme
1202 of 7435
Realizing You Wrote the Terrible Code
CodeReviews Post #1343, on Apr 20, 2020 in TG

Realizing You Wrote the Terrible Code

Why is this CodeReviews meme funny?

Level 1: Oops, It Was Me

Imagine you accidentally broke a lamp, and then your parent comes home and yells, "Who broke this lamp?!" If you were the one who did it, you’d probably freeze, feel your face get hot, and try to hide so you don't get in trouble. That’s exactly what’s happening in this meme, but with computer code. The "broken lamp" here is a piece of messy code, and the person yelling is a senior developer (an experienced programmer) who is angry about how bad it is. The little kid in the picture making a guilty look is like the programmer who realizes they made that mess. It’s funny because everyone knows that uh-oh feeling of getting caught for a mistake. Just like a kid who wants to disappear when they hear their parent shout about the broken lamp, the programmer wants to disappear when the senior dev shouts about the bad code. We laugh at the meme because we’ve all been that person at some point, hoping nobody finds out we’re the one who did something wrong.

Level 2: Code Review Panic

Let’s break down the situation in more straightforward terms. You have a junior developer (someone new or relatively inexperienced) who wrote some code a while ago. Now, during a code review meeting or a debugging session, a senior developer comes across that code and is not happy. A code review is basically when team members check each other’s code for mistakes and improvements before it gets merged – kind of like having a second pair of eyes proofread an essay. Here, instead of calmly suggesting improvements, the senior dev blurts out in frustration, "Who wrote this garbage?!" (strong language and all). That reaction is definitely not gentle; it’s more like an angry teacher slamming a homework paper on the desk.

Now imagine being the author of that "garbage" code, sitting there in the room. The meme’s four-panel image of a kid slowly shrinking and looking away hilariously represents the junior dev’s embarrassment and anxiety. He’s thinking, “Uh oh... I wrote this... please don’t find out it was me.” This kind of moment is a common developer experience for anyone early in their career (and yes, it even happens to veterans sometimes). It’s basically the programmer equivalent of getting called out in class for a mistake on the blackboard.

Why is the senior developer so upset? It comes down to code quality. Code quality means how well-written and maintainable the code is. High-quality code is clean, understandable, and works as expected without nasty surprises. Low-quality code (the kind under fire here) is hard to read, brittle, or full of quick-and-dirty hacks. For example, maybe the junior dev wrote a function that technically works but is extremely hard for others to follow. Or perhaps they handled an error by just ignoring it (like using an empty except or returning a default silently), which can hide problems instead of solving them. If code like that made it into the project – maybe because the team was rushing to meet a deadline, or the author just didn’t know a better way – it will frustrate the next person who has to deal with it. That frustration is exactly what the senior dev is expressing out loud.

In a healthy code review, even if a piece of code is bad, the feedback should be constructive: “Hey, this part is confusing, maybe we should refactor it,” rather than “This sucks, who did this?” The meme highlights a not-so-great code review behavior: bluntly calling the code "shit" and, by extension, embarrassing the coder. This is where blame culture comes in. Blame culture means people focus on pinning the fault on someone for a problem rather than figuring out how to fix the problem itself. When the senior dev says “Who wrote this?” in that accusing tone, it creates an atmosphere of fear. The junior developer now is scared to speak up because it feels like whoever admits to it will get shamed. In contrast, a positive culture (often called a blameless culture) would focus on the issue itself: “This code isn’t doing what we need – how can we improve it and what can we learn from this?” The meme is funny (and a bit painful) because many of us have experienced that blame-heavy approach, and we all know that sinking feeling when you suddenly suspect you are the one at fault.

Let’s talk about tools for a second: Git is a version control system that tracks changes in the code and keeps a history of who made each change. There’s a well-known command in Git called git blame which literally shows the name of the last person who edited each line of a file (along with the timestamp). Developers sometimes joke about using git blame whenever something goes wrong: “Let's git blame to see who we can rag on.” The term "blame" is right there, though the tool is really meant to track history, not assign guilt. In this scenario, the junior dev doesn’t even need to run git blame – they already know they’re the guilty one. You can picture them silently sweating, hoping the senior dev doesn’t actually execute that command to publicly reveal their name. It’s kind of like hearing your mom say, “I wonder which kid drew on this wall…” while you’re hiding the crayon behind your back. You know you did it, and you’re praying no one else finds out.

For someone new to the software world, the key thing to realize is that everyone makes mistakes in code. Senior developers have written buggy, messy code in their past too. The difference is seniors have had more time to learn from those mistakes and write cleaner code (and usually they're more chill when critiquing others, because they've been there). In our meme scenario, the senior dev is not being very kind, and the junior dev is freaking out. The humor exaggerates the junior’s response – sliding away like they wish they could become invisible – which is how it feels inside when you’re new and someone harshly criticizes your work. Coding frustration is happening on both sides: the senior is annoyed dealing with a mess, and the junior is ashamed for causing trouble.

The lesson here for a young coder is: you’re not alone, and this is a learning opportunity. The self-deprecating joke among developers is that if you haven’t looked back at your old code and felt embarrassed, you probably haven’t been programming for very long. The lesson for the seniors in the room: if you catch yourself about to shout "Who wrote this crap?" – remember, mistakes are best handled by fixing the code and mentoring, not calling people out. A little empathy in those situations can turn a scary moment into a collaborative fix. The beauty of this meme is that it turns a stressful experience into a shared laugh. It reminds us that, at the end of the day, writing software is hard, everyone has “off days” in code, and sometimes the joke’s on us when we realize we’re trash-talking our own past work.

Level 3: The Git Blame Game

As a seasoned dev, you know it's going downhill when a code review starts with "Who the fuck wrote this shit?" This meme captures that classic developer horror story in action. A frustrated senior engineer has stumbled upon some truly atrocious code in the codebase and is voicing what many of us have thought in private. The twist here is that the developer who wrote the questionable code is the one overhearing this outburst – just like the kid in the image nervously side-eyeing and trying to disappear. It's an instant panic moment: you realize you’re the author of the very code being trashed. In a programmer’s world, that’s the moment your stomach drops and you instinctively alt-tab to run git blame before anyone else does.

Why such a strong reaction from the senior dev? It usually means the code violates prized code quality principles in a big way. Picture something like an overcomplicated function that spans 300 lines, or variables named thing1 and thing2 with no comments to explain them. Maybe the code is performing a dozen tasks in one place (ignoring separation of concerns), or it’s a quick-and-dirty fix that was never refactored. Perhaps the cherry on top is a lazy error handler that does this:

def process_data(data):
    try:
        result = parse(data)
    except Exception:
        pass  # oh no, this just swallows every error and returns None
    return result

Nothing makes a senior dev swear faster than code that silently fails or hides problems like this. It’s the kind of technical debt that was probably introduced under deadline pressure and forgotten. Now it's a ticking time bomb. In fact, experienced engineers carry a mental checklist of these coding horrors that trigger immediate ire. Some infamous examples include:

  • Monster functions that try to do everything: e.g. a single function handling UI, business logic, and database calls all at once. This violates the single responsibility principle and turns maintenance into a nightmare.
  • Cryptic hacks with zero documentation: code that "works" but is so convoluted or clever that nobody (including the original author) can figure it out later. Future maintainers are left muttering curses under their breath.
  • Swallowed exceptions as shown above: using a broad except Exception to ignore errors entirely. This is like unplugging a smoke alarm to stop the noise – it hides the symptom while a fire quietly spreads.
  • "TODO/FIXME" landmines in production: comments like # TODO: improve this or sloppy commit messages like "temporary quick fix" that were never followed up. These are red flags that the code was knowingly subpar and left for someone else (unluckily, the complaining senior now) to clean up.

When a senior developer encounters something from that list, it's like stepping on a landmine of bad practice. The immediate (and sometimes uncensored) response is to question the author’s competence or state of mind: "How could anyone think this was okay?" That exasperation is exactly what's memed here. The young developer in the image is essentially having an out-of-body experience: Oh no, they're talking about my code...

This scenario is painfully familiar in the software world. The humor lands because virtually every developer has lived through it. Maybe you wrote a piece of sloppy code at 2 AM to hotfix a production issue, promising yourself you'd clean it up later – but "later" never came. Six months down the line, that very code resurfaces in a review or bug hunt, and someone yells "What is this nonsense?!" in dismay. And there you are, recognizing your own handiwork with a mix of pride and dread. Developer self-deprecation is strong in moments like this: we laugh (and cringe) because we've all been the culprit behind "shit code" at least once. In fact, a popular inside joke among programmers is discovering that the mysterious awful code you’re griping about was actually written by your past self. It's like getting a scolding from time-traveling you.

Beyond the personal embarrassment, this meme touches on a bigger issue in engineering culture: the blame game. The phrase "Who wrote this?" is basically a blame-seeking missile. It zeroes in on who introduced the bug or ugly code, rather than focusing on how to fix it or why it happened. In a healthy code review culture, reviewers concentrate on the code's quality and how to improve it, not on shaming the author. But in reality, high-pressure environments and frayed tempers can lead even experienced devs to drop the etiquette. The result is a blame culture vibe where people are more worried about being blamed than about solving the problem. That anxiety you see in the meme – the developer literally wanting to hide – is a product of a blame-oriented approach to code reviews. It's the polar opposite of a blameless post-mortem mindset which would say, "This code is problematic, let's figure out how we allowed it into the codebase and how to prevent such issues," instead of "Who messed up here?"

The irony is that the very seniors who react harshly often have skeletons in their own commit history. No one writes flawless code 100% of the time. Seasoned devs have just learned (sometimes the hard way) to recognize and admit those bad patterns. The meme holds up a mirror: today’s outraged reviewer was yesterday’s overwhelmed coder making a questionable commit. It's a rite of passage in software development to occasionally look at old code – written by you or someone else – and go "WTF is this?" The best teams use that as a learning moment rather than a witch hunt. But as every developer knows, in the heat of the moment it's easier to reach for the pitchfork. That's why this scenario is so relatable and darkly funny: it's an exaggerated snapshot of the developer experience (DX) where our past code can come back to haunt us, and where the quest for high code quality sometimes devolves into a comedy of errors (and swearing).

Description

A four-panel meme format shows a young boy with shifting, nervous expressions. The top text reads, "When you hear a senior dev saying who the fuck wrote this shit." The panels depict the boy's face: top-left, he looks sideways with wide eyes; top-right, he has a worried, downturned mouth; bottom-left, he looks down, seemingly in thought; bottom-right, he puffs his cheeks and looks away. This meme, known as the "Awkward Look" or "Guilty Kid," perfectly captures the internal panic of a developer who overhears a senior engineer complaining about a piece of code and slowly realizes they are the one who wrote it. It's a classic scenario in software development, touching on themes of code quality, legacy code (even if it's your own), and the fear of being judged for past work

Comments

7
Anonymous ★ Top Pick The five stages of hearing a senior dev complain about code: 1. Outrage on their behalf. 2. Curiosity about the author. 3. A slow, dawning horror as you recognize the commit message. 4. Frantically closing the 'git blame' window. 5. Praying they don't have 'git blame' aliased to 'whoisthisclown'
  1. Anonymous ★ Top Pick

    The five stages of hearing a senior dev complain about code: 1. Outrage on their behalf. 2. Curiosity about the author. 3. A slow, dawning horror as you recognize the commit message. 4. Frantically closing the 'git blame' window. 5. Praying they don't have 'git blame' aliased to 'whoisthisclown'

  2. Anonymous

    When the principal engineer thunders “who wrote this?”, and you’re silently praying the line survived the CVS-to-Git migration so git blame pins it on import-bot instead of 2006-you

  3. Anonymous

    The best part is when git blame reveals it was the same senior dev, just before their third promotion and two architectural paradigm shifts ago

  4. Anonymous

    The most humbling moment in any senior engineer's career: running `git blame` on that horrific code you've been complaining about for 20 minutes in the team channel, only to see your own commit from 2 years ago with the message 'quick fix, will refactor later.' Narrator: They did not refactor later

  5. Anonymous

    When senior dev's WTF/min exceeds your branch coverage - pray it's not your commit from last sprint's crunch

  6. Anonymous

    Blameless culture works right up until someone runs git blame -w --follow and rediscovers your 2018 'temp hack' pushed at 16:59 on a Friday

  7. Anonymous

    When the senior dev asks “who wrote this?” and git blame points at you because you ran Prettier during the monorepo migration - congrats, you now own every bug dating back to the CVS import

Use J and K for navigation