this post was submitted on 11 Mar 2026
845 points (99.2% liked)

Programmer Humor

30470 readers
2277 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] CXORA@aussie.zone 317 points 1 week ago* (last edited 1 week ago) (10 children)

People who share the size of a codechange as a mark of how effective ai coding agents are truly missing the point of code changes.

[–] fckreddit@lemmy.ml 120 points 1 week ago (3 children)

Number of lines of code written is a shitty metric to measure productivity.

[–] KairuByte@lemmy.dbzer0.com 55 points 1 week ago (1 children)

And yet I experience it so often. That or “effort points” as the metric being used to determine who all stars are.

Either as a metric just encourages gaming of the system:

  • Why write one line when I can write the same thing in 20?
  • Why take this one effort point task I think will take three when I can just skip it and grab these one effort points I think will take 20 minutes?

I’ve been on teams that on the surface didn’t have these metrics matter, but the top effort points achiever got bonuses on the DL.

[–] Valmond@lemmy.dbzer0.com 28 points 1 week ago

What did you do?? You refacted the code and now it's better organized but you overall got rid of lines?

I'll set up a PMD meeting to help you out of this problem, but fair to say don't expect a raise or a bonus this year.

[–] CorrectAlias@piefed.blahaj.zone 46 points 1 week ago (1 children)

In college, on the first day of orientation, someone in my class bragged that they wrote 50,000 lines of code for a game that was similar to tic tac toe, emphasizing that he "wrote a lot of code". A TA told him that it wasn't a sign that his program was decent and that it really didn't seem like it should take 50k lines of code to make something as simple as his game.

He dropped out after the first week of intro to programming.

[–] fckreddit@lemmy.ml 25 points 1 week ago (1 children)

That's nothing, I wrote the code to return if the input is even or not in 1M lines of code.

[–] Siethron@lemmy.world 17 points 1 week ago (3 children)

If 1 no else if 2 yes else if 3 no....

load more comments (3 replies)
[–] ViatorOmnium@piefed.social 17 points 1 week ago (5 children)

I wouldn't say PR size is a bad metric, you usually just need yo read it the opposite of how sloppers do it, i.e. the most productive PRs are short and focused.

[–] RustyNova@lemmy.world 14 points 1 week ago (4 children)

Then Devs focus on minifying the code into an unreadable mess

[–] ViatorOmnium@piefed.social 18 points 1 week ago* (last edited 1 week ago)

I'm not saying it's a good individual metric. In fact, applying individual metrics to developers (or most workers really), will only land you in Goodhart's hell.

But as part of holistic operational health tracking, it's a useful team level metric, as there is ample evidence that shorter PRs tend to result in less operational issues. And, of course, this is only valid if you don't try to tie financial rewards to it, otherwise people will forget that PR size is a proxy measure for how easy changes are to review and rollback.

load more comments (3 replies)
load more comments (4 replies)
[–] Klear@quokk.au 48 points 1 week ago (2 children)

I'm just a hobbyist, but I'm always more proud of commits that remove stuff.

[–] traxex@lemmy.dbzer0.com 32 points 1 week ago (3 children)

Removing shit and it still working perfectly the same is absolutely a goal everyone should have. Less code means less to maintain.

[–] Tamo240@programming.dev 2 points 3 days ago

This. Code is a liability not an asset

load more comments (2 replies)
[–] sqw 7 points 1 week ago

i refactored some web code i wrote ten years ago and it's more elegant and a tenth the size with new features because of language advancements. feels great.

[–] VeryInterestingTable@jlai.lu 27 points 1 week ago

People who've never reviewed a PR be like. Wow green number big, is good.

[–] resipsaloquitur@lemmy.world 20 points 1 week ago* (last edited 1 week ago) (1 children)

Didn’t you hear? We’re going back to KLOC for measurement of productivity.

load more comments (1 replies)
[–] mckean@programming.dev 9 points 1 week ago (1 children)
[–] psud@aussie.zone 6 points 1 week ago

Lines added, lines deleted

load more comments (5 replies)
[–] Valmond@lemmy.dbzer0.com 238 points 1 week ago* (last edited 1 week ago) (6 children)

Come see why you're all wrong sore losers, here in a lenghty rantarticle I explain why AI is so good and is going to replace you all:

https://localhost:80/index.html

[–] lesnout27@feddit.org 115 points 1 week ago (2 children)

Hey thats my website! Gemini, call the police!

[–] ChanchoManco@lemmy.zip 26 points 1 week ago

Every breath you take starts playing on the background...

[–] StellarSt0rm@lemmy.world 8 points 1 week ago* (last edited 1 week ago) (2 children)

You rang? (My user's name in my laptop is gemini, and in my home pc, and anywhere i use my flake really), btw check out my terminal cool right?:

It doesnt look right in the tty though, i havent bothered to make it change the characters for some it can print, i use oh-my-posh btw, and fish.

load more comments (2 replies)
[–] dogdeanafternoon@lemmy.ca 62 points 1 week ago (1 children)

I love the https and port 80 combo. Really sells the incompetence.

[–] stoly@lemmy.world 10 points 1 week ago (1 children)

That’s what makes it obvious that this person has been around the block. Or a few blocks.

load more comments (1 replies)
[–] call_me_xale@lemmy.zip 13 points 1 week ago

Goddammit, I clicked.

[–] WhiskyTangoFoxtrot@lemmy.world 12 points 1 week ago

That page is filthy. You should be ashamed of yourself.

[–] erayerdin@programming.dev 10 points 1 week ago (1 children)

pointing to 80 port was the salt in the wound, i presume?

load more comments (1 replies)
load more comments (1 replies)
[–] hoshikarakitaridia@lemmy.world 125 points 1 week ago (1 children)
vibes = vibes-3

if (outage) {
fix()
}

Coding is so easy

[–] hdsrob@lemmy.world 111 points 1 week ago (1 children)

They just forgot to include "no bugs" in the prompt.

load more comments (1 replies)
[–] tempest@lemmy.ca 66 points 1 week ago* (last edited 1 week ago) (3 children)

You know what's funny?

I use AI to develop software. However when I'm looking for libraries to do things if I see a CLAUDE.md file I have to look and see when it was added and hold it against the library if it's early in the history.

It's like prewar steel.

I also recognize it's hypocritical.

[–] irelephant@lemmy.dbzer0.com 22 points 1 week ago (3 children)
[–] jake_jake_jake_@lemmy.world 7 points 1 week ago

I love this sabotage. Has this worked against anyone that you know of yet?

load more comments (1 replies)
[–] fushuan@lemmy.blahaj.zone 8 points 1 week ago

It's the difference between checking for questions in stack overflow and implementing solutions VS pasting every SO solution blindly until something works.

I do use autocomplete and ask plenty questions, sometimes even use an agent so it makes small changes that I then review and test, but I would never commit unchecked changes, and a claude.md implies that the AI is coding AND committing without supervision.

I can't stress enough how different those scenarios are.

load more comments (1 replies)
[–] driving_crooner@lemmy.eco.br 54 points 1 week ago (2 children)

We are n weeks away for not needing developers anymore

[–] WanderingThoughts@europe.pub 36 points 1 week ago (2 children)

About 6 months to replace devs since 2023.

load more comments (2 replies)
[–] Valmond@lemmy.dbzer0.com 11 points 1 week ago

Let n be a natural number, and b be the time to the next major extinction event.

[–] drath@lemmy.world 49 points 1 week ago (2 children)

Positive diff? Pfft, amateurs. If I ever see even a 1000 line PR I'm instantly rejecting and closing it. Learn to code, not generate bullshit.

load more comments (2 replies)
[–] radio@sh.itjust.works 41 points 1 week ago

Live by the vibes, die by the vibes.

[–] Rothe@piefed.social 38 points 1 week ago (1 children)

I'm pretty sure the shitty Windows upgrades as of late has been vibecoded as well.

load more comments (1 replies)
[–] fckreddit@lemmy.ml 29 points 1 week ago

What could go wrong?

[–] MortUS@lemmy.world 19 points 1 week ago

I like that this is lowkey a Polymarket Advertisement too. The internet truly is a wonderous place.

[–] statelesz@slrpnk.net 15 points 1 week ago

Look mommy, I made big poo poo.

[–] gergolippai@lemmy.world 14 points 1 week ago

that's good, mandatory meetings always (ALWAYS) solve the problem! /s

[–] tatterdemalion@programming.dev 11 points 1 week ago (1 children)

Slop points aside, I found 5.4 to be pretty ass compared to 5.3 codex. Took way longer and wasted more tokens.

load more comments (1 replies)
[–] jaybone@lemmy.zip 9 points 1 week ago

Figures Reddit has a Codex sub, where they are all shilling for it.

load more comments
view more: next ›