this post was submitted on 11 Jul 2025
846 points (98.8% liked)

Programmer Humor

24980 readers
900 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
(page 2) 50 comments
sorted by: hot top controversial new old
[–] Davin@lemmy.world 109 points 2 days ago (8 children)

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

load more comments (8 replies)
[–] cupcakezealot@piefed.blahaj.zone 47 points 2 days ago (2 children)

i think ive pinpointed exactly why twitter devs are terrible

[–] dajoho@sh.itjust.works 11 points 2 days ago (2 children)

That was clear when they made Bootstrap.

[–] Tja@programming.dev 8 points 1 day ago (1 children)

Shots fired!

But honestly, for the time, bootstrap was great.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] MTK@lemmy.world 53 points 2 days 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
[–] UnderpantsWeevil@lemmy.world 269 points 2 days ago (9 children)

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

load more comments (9 replies)
[–] negativenull@piefed.world 227 points 2 days 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 151 points 2 days ago (1 children)

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

[–] unwillingsomnambulist@midwest.social 52 points 2 days ago (2 children)

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

[–] AnarchistArtificer@slrpnk.net 30 points 2 days 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)
[–] MonkeMischief@lemmy.today 57 points 2 days ago (7 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.

[–] wise_pancake@lemmy.ca 17 points 1 day ago (1 children)

LOL the macos dictionary entry/quicklook entry for "MechaHitler" gives you Grok's wikipedia page

Which happens because wikipedia redirects "Mechahitler" to Grok

load more comments (1 replies)
load more comments (6 replies)
[–] turdburglar@sh.itjust.works 84 points 2 days 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 38 points 2 days ago (4 children)

You're probably preaching to the choir here. lol

load more comments (4 replies)
load more comments (5 replies)
[–] m0darn@lemmy.ca 54 points 2 days ago (1 children)

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

load more comments (1 replies)
[–] Evil_Shrubbery@lemmy.zip 110 points 2 days 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)
[–] Almacca@aussie.zone 27 points 2 days ago (1 children)
load more comments (1 replies)
[–] lowered_lifted@lemmy.blahaj.zone 29 points 2 days ago (3 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

[–] ilinamorato@lemmy.world 12 points 2 days ago

He also thinks that the number of lines of code produced is a relevant measure of productivity, so him not understanding this isn't super surprising.

[–] xthexder@l.sw0.com 15 points 2 days ago

You've heard of monorepos, but have you tried monofile development?

[–] wintermute@discuss.tchncs.de 16 points 2 days ago (1 children)

He probably thinks that the entire application is only one source file

load more comments (1 replies)
[–] HugeNerd@lemmy.ca 16 points 2 days ago (2 children)

10 PRINT CHR$ (205.5 + RND (1));
20 GOTO 10

load more comments (2 replies)
[–] Vince@lemmy.world 70 points 2 days ago (7 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 2 days 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)
load more comments (6 replies)
[–] Aurenkin@sh.itjust.works 57 points 2 days ago (1 children)

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

load more comments (1 replies)
load more comments
view more: ‹ prev next ›