this post was submitted on 11 Jul 2025
857 points (98.9% liked)

Programmer Humor

25139 readers
1532 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 427 points 1 week ago (3 children)

Why are all my variables suddenly named after SS officers?

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

Thanks I hate it!

[–] vivalapivo@lemmy.today 90 points 1 week ago

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

[–] Taiatari@lemmynsfw.com 37 points 1 week 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 272 points 1 week 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 54 points 1 week ago (1 children)

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

[–] kambusha@sh.itjust.works 44 points 1 week ago (1 children)

What does the office secrete?

[–] PattyMcB@lemmy.world 31 points 1 week ago (1 children)
load more comments (1 replies)
[–] skuzz@discuss.tchncs.de 42 points 1 week 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 231 points 1 week 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 155 points 1 week ago (1 children)

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

[–] unwillingsomnambulist@midwest.social 54 points 1 week ago (2 children)

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

[–] AnarchistArtificer@slrpnk.net 31 points 1 week 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 177 points 1 week 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 74 points 1 week ago* (last edited 1 week 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 39 points 1 week 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)
[–] prole@lemmy.blahaj.zone 128 points 1 week ago* (last edited 1 week ago) (21 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 (21 replies)
[–] Evil_Shrubbery@lemmy.zip 110 points 1 week 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 109 points 1 week 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 87 points 1 week 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 39 points 1 week ago (4 children)

You're probably preaching to the choir here. lol

load more comments (4 replies)
load more comments (5 replies)
[–] spicehoarder@lemmy.zip 74 points 1 week ago (16 children)

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

load more comments (16 replies)
[–] Vince@lemmy.world 70 points 1 week 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 91 points 1 week 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 49 points 1 week ago (5 children)

Ask for all output in brainfuck.

load more comments (5 replies)
[–] Taleya@aussie.zone 58 points 1 week ago (12 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 (12 replies)
[–] GreenKnight23@lemmy.world 58 points 1 week ago (2 children)
load more comments (2 replies)
[–] Aurenkin@sh.itjust.works 57 points 1 week ago (1 children)

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

load more comments (1 replies)
[–] MonkeMischief@lemmy.today 57 points 1 week ago (8 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 (8 replies)
[–] m0darn@lemmy.ca 54 points 1 week ago (1 children)

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

load more comments (1 replies)
[–] MTK@lemmy.world 53 points 1 week 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
[–] paulbg@programming.dev 52 points 1 week ago

sounds like a very productive team💀

[–] kamen@lemmy.world 50 points 1 week ago (9 children)

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

load more comments (9 replies)
[–] maxwells_daemon@lemmy.world 50 points 1 week 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.

[–] cupcakezealot@piefed.blahaj.zone 47 points 1 week ago (5 children)

i think ive pinpointed exactly why twitter devs are terrible

load more comments (5 replies)
[–] conicalscientist@lemmy.world 44 points 1 week ago

I've been saying for a long time (since the 2010s tech boom). There's needs to be a new term the public lexicon termed "poptech" or popular technology. In the same vein has popsci.

The technology anyone knows anymore is oversimplified for general audiences. These days is almost always imparting wrong understanding.

The industry has been rife with grifters. If people catch on then the bottomless pit of funding will become very shallow.

[–] Matriks404@lemmy.world 44 points 1 week ago (6 children)

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

load more comments (6 replies)
[–] umbraroze@slrpnk.net 38 points 1 week ago

Legends say that if you put your source code file in Grok, it'll print out the code and it'll land on Elon's desk.

Elon will browse through it and pretend to understand it, then tweet out insults and emojis and says you're fired. Even though you were never employed by him anyway.

[–] Skullgrid@lemmy.world 34 points 1 week 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 97 points 1 week 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

load more comments (6 replies)
load more comments (1 replies)
[–] kn0wmad1c@programming.dev 33 points 1 week 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 week ago* (last edited 1 week 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 1 week 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!

load more comments (3 replies)
[–] AlecSadler@lemmy.blahaj.zone 30 points 1 week 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 29 points 1 week 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)
load more comments
view more: next ›