this post was submitted on 09 May 2026
629 points (99.8% liked)
Programmer Humor
31311 readers
1241 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I wonder if you could write a valid program in two different languages using this technique.
You can do it with any language where whitespace doesn't matter and Whitespace
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
Absolutely, that's a polyglot file
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.
amazing! it's great to see that is still being maintained after so many years.