this post was submitted on 09 May 2026
860 points (99.7% liked)

Programmer Humor

32507 readers
1140 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 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] 30p87@feddit.org 54 points 2 months ago (2 children)
[–] einkorn@feddit.org 51 points 2 months ago

They were too preoccupied with whether they could instead of asking whether they should.

[–] Deebster@infosec.pub 20 points 2 months ago (2 children)

I wonder if you could write a valid program in two different languages using this technique.

[–] 9point6@lemmy.world 41 points 2 months ago (1 children)

You can do it with any language where whitespace doesn't matter and Whitespace

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

That's what I use to show people the exact message I sent before. It gets around any app that doesn't let you send blank messages. I have it saved on my clipboard for this

[–] Natanael@slrpnk.net 22 points 2 months ago (1 children)

Absolutely, that's a polyglot file

[–] vrek@programming.dev 34 points 2 months ago (1 children)

Not quite this exact case but I love showing people https://github.com/mame/quine-relay

It has 128 languages, it starts with ruby which prints out its own source code in Scala, then the Scala program executes to generate the next source code, repeat for 128 languages and eventually returns to the original ruby code.

For extra fun, look at the source code on a large monitor.

[–] cypherpunks@lemmy.ml 4 points 2 months ago

amazing! it's great to see that is still being maintained after so many years.