this post was submitted on 09 May 2026
609 points (99.8% liked)

Programmer Humor

31311 readers
1197 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] 30p87@feddit.org 47 points 10 hours ago (2 children)
[–] einkorn@feddit.org 40 points 10 hours ago

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

[–] Deebster@infosec.pub 17 points 10 hours ago (2 children)

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

[–] 9point6@lemmy.world 35 points 10 hours ago (1 children)

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

[–] SmackemWittadic@lemmy.world 5 points 8 hours ago* (last edited 8 hours 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 17 points 10 hours ago (1 children)

Absolutely, that's a polyglot file

[–] vrek@programming.dev 25 points 9 hours 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 3 points 8 hours ago

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