this post was submitted on 11 Jul 2025
669 points (98.7% liked)

Programmer Humor

24957 readers
1979 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
[–] frezik@lemmy.blahaj.zone 383 points 1 day ago (3 children)

Why are all my variables suddenly named after SS officers?

[–] kambusha@sh.itjust.works 134 points 1 day ago (1 children)
[–] ch00f@lemmy.world 121 points 23 hours ago* (last edited 23 hours ago) (1 children)
  • Auswitch statement
  • V2latile variable
  • Goebboolean
  • Zyklon C++
  • Left shift, Reich shift
  • Open and close Parenzer
  • Iron Cross-compiler
[–] kibiz0r@midwest.social 36 points 23 hours ago

Thanks I hate it!

[–] vivalapivo@lemmy.today 83 points 1 day ago

if (hasBillion) { throw new NaziSalute(); }

[–] Taiatari@lemmynsfw.com 33 points 1 day ago (2 children)

It's for familiarity, that way you can remember the variables better. taps head

/s obviously

load more comments (2 replies)
[–] UnderpantsWeevil@lemmy.world 245 points 1 day ago (3 children)

I am a professional encoder and I always put all my codes in a single big file marked EXE for faster execution.

[–] PattyMcB@lemmy.world 49 points 1 day ago (1 children)

James? I told you not to share or office secrets!

[–] kambusha@sh.itjust.works 41 points 1 day ago (1 children)

What does the office secrete?

[–] PattyMcB@lemmy.world 27 points 20 hours ago (1 children)
load more comments (1 replies)
[–] skuzz@discuss.tchncs.de 40 points 1 day ago (3 children)

Don't forget to put them all in italics so they execute faster!

load more comments (3 replies)
load more comments (1 replies)
[–] negativenull@piefed.world 207 points 1 day ago (2 children)

Get popcorn ready

Upload the entire Linux kernel, then submit the "fixed" code as a PR to Linus.

Enjoy popcorn

[–] CaptDust@sh.itjust.works 138 points 1 day ago (1 children)

My sibling in christ, we are trying to code not cause a NATO conflict.

[–] unwillingsomnambulist@midwest.social 46 points 23 hours ago (2 children)

I’d love to see Linus verbally bitchslap the fuckwit. Or physically, that’d be cool too.

[–] AnarchistArtificer@slrpnk.net 26 points 17 hours ago

I think that Linus becoming less of an abusive asshole over the years has been a positive development, but I wouldn't mind the return of the old for this event

load more comments (1 replies)
load more comments (1 replies)
[–] nonentity@sh.itjust.works 154 points 20 hours ago (3 children)

No one who legitimately knows anything about computing speaks like this.

He’s truly a moron’s hallucination of a genius.

[–] Jankatarch@lemmy.world 64 points 18 hours ago* (last edited 18 hours ago) (1 children)

Wdym. Just copy-paste your source code. Go ahead. That one single file with the source code, copy-paste it.

[–] saimen@feddit.org 30 points 13 hours ago

Not copy-paste. Cut-paste. As an additional feature that way your source code becomes as light weighted as 0 Kb.

load more comments (1 replies)
[–] Evil_Shrubbery@lemmy.zip 104 points 1 day ago (2 children)

So "don't talk to strangers" or "don't give your credit card info to strangers" never really reached the audience, did it?

load more comments (2 replies)
[–] Davin@lemmy.world 102 points 18 hours ago (8 children)

Yes, I who knows a lot about programming, only use one file per application.

load more comments (8 replies)
[–] turdburglar@sh.itjust.works 79 points 20 hours ago (6 children)

please don’t use grok.

elon is poisoning the air over memphis with exhaust from the generators that he’s using to power it while using drinking water from the memphis sands aquifer to cool it.

please don’t use grok.

[–] Lemminary@lemmy.world 34 points 19 hours ago (4 children)

You're probably preaching to the choir here. lol

load more comments (4 replies)
load more comments (5 replies)
[–] prole@lemmy.blahaj.zone 78 points 9 hours ago* (last edited 9 hours ago) (4 children)

Why the fuck can't these assholes just go away?

You've won life. We get it. Good for you. Why do you need more money? Why do you need to constantly be the center of attention?*

It truly is just a handful of unscrupulous, malignant narcissists that have ruined everything (including the planet) for everyone else.

*these are rhetorical questions

load more comments (4 replies)
[–] Vince@lemmy.world 70 points 1 day ago (2 children)

Hmm, can you upload files? Wonder if they set an upper limit. Wonder which language would burn the most cycles?

[–] chiliedogg@lemmy.world 89 points 1 day ago (2 children)

Knowing how half-assed they've been deploying Grok a ZIP bomb would probably work on it if they allowed file uploads.

load more comments (2 replies)
[–] KickMeElmo@sopuli.xyz 48 points 1 day ago (5 children)

Ask for all output in brainfuck.

load more comments (5 replies)
[–] Aurenkin@sh.itjust.works 56 points 1 day ago (1 children)

Do you have to print it out and scan it first?

[–] resipsaloquitur@lemmy.world 26 points 1 day ago

Only if you don’t have a fax.

[–] m0darn@lemmy.ca 52 points 18 hours ago (1 children)

Presumably anybody that does this gets their code integrated into the training data right?

load more comments (1 replies)
[–] MonkeMischief@lemmy.today 52 points 15 hours ago (6 children)

From the genius and his whipped minions that brought you MechaHitler after some "fixes and improvements"...

...Comes the same AI that offers to "fix your code."

Wow. Simply astounding. A magnificent feat indeed, to waste so many finite precious resources over such garbage.

Kindly Ctrl+A and shift-delete "All your code files", sir.

load more comments (6 replies)
[–] maxwells_daemon@lemmy.world 49 points 1 day ago

It will definitely not report back to Musk on your proprietary code...

Because Musk wouldn't understand shit, it'll report back to some Indian guy instead.

[–] Taleya@aussie.zone 49 points 11 hours ago (7 children)

pelcan Mouth perfec t size for put baby in to n\ap! inside very Soft and Comfort baby sleep soundly put baby in Pelican Mouth. Put Baby In Pelican Mouth. no problems ever in peliccan mouth

load more comments (7 replies)
[–] spicehoarder@lemmy.zip 49 points 8 hours ago (9 children)

This just confirms Twitter is a 1M line BASIC program.

load more comments (9 replies)
[–] MTK@lemmy.world 49 points 14 hours ago
# Checking validity of each file
for file in directory:
  content = file.read()
  for keywords in ("heil hitler","hitler did nothing wrong","kill the jews","hitler was the victim","there is no evidence for the Holocaust"):
    if keywords in content:
      return True

# File is Invalid and fake news
return False
[–] cupcakezealot@piefed.blahaj.zone 42 points 13 hours ago (4 children)

i think ive pinpointed exactly why twitter devs are terrible

load more comments (4 replies)
[–] paulbg@programming.dev 37 points 7 hours ago

sounds like a very productive team💀

[–] kamen@lemmy.world 36 points 9 hours ago (1 children)

Notice how it's suggested to cut instead of to copy the file.

load more comments (1 replies)
[–] Skullgrid@lemmy.world 34 points 1 day ago (2 children)

how does the AI know what the rest of the project is like? Or what the purpouse of the file is?

[–] CaptDust@sh.itjust.works 96 points 1 day ago (6 children)

What do you mean "rest of the project"? Don't you put all of everything into a singular neatly contained file? It's way more optimized that way

[–] 0ops@piefed.zip 26 points 1 day ago

That's how I read the tweet, dork never got further than Programming 1

load more comments (5 replies)
load more comments (1 replies)
[–] Matriks404@lemmy.world 34 points 11 hours ago (4 children)

Yeah, that's definitely a thing that is perfectly legal to do. Your company will definitely be fine with that.

load more comments (4 replies)
[–] kn0wmad1c@programming.dev 32 points 22 hours ago

Wait, so if everyone at xAI does that, does that mean that Grok's own source code was the result of Grok's output?

And then they once again feed that source into Grok?

Dude is destroying his own product. Again.

[–] neidu3@sh.itjust.works 31 points 1 day ago* (last edited 1 day ago) (3 children)

Using Grok to develop Grok... This sounds like Model Collapse with extra steps.

load more comments (3 replies)
[–] hperrin@lemmy.ca 30 points 21 hours ago (3 children)

Hey Grok, take this one file out of the context of my 250,000 line project and give me that delicious AI slop!

[–] hperrin@lemmy.ca 26 points 21 hours ago

Just really fuck up this shit. I want it unrecognizable!

load more comments (2 replies)
[–] AlecSadler@lemmy.blahaj.zone 29 points 20 hours ago (2 children)

I do work for an AI centric company and we've used almost every major model in some way, shape, or form.

Grok was so bad on all fronts that we ceased using it completely.

So I don't believe this for one second. I don't even find ChatGPT to be useful for code. I'd probably put Claude first and versions of Gemini second, with no current third.

load more comments (2 replies)
[–] lowered_lifted@lemmy.blahaj.zone 28 points 16 hours ago (4 children)

I find that without being able to see the rest of my IDE it makes no sense to just paste a single class worth of code at a time in there, it has no context for the rest of the application

load more comments (4 replies)
[–] uss_entrepreneur@startrek.website 27 points 20 hours ago (2 children)

Wait so are they using grok to code grok? No wonder it keeps getting shittier

load more comments (2 replies)
[–] Almacca@aussie.zone 26 points 14 hours ago (1 children)
load more comments (1 replies)
load more comments
view more: next ›