861
< :-( > (jlai.lu)
you are viewing a single comment's thread
view the rest of the comments
[-] 30p87@feddit.org 55 points 4 weeks ago
[-] einkorn@feddit.org 51 points 4 weeks ago

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

[-] Deebster@infosec.pub 20 points 4 weeks ago

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

[-] 9point6@lemmy.world 41 points 4 weeks ago

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

[-] SmackemWittadic@lemmy.world 8 points 4 weeks ago* (last edited 4 weeks ago)

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 4 weeks ago

Absolutely, that's a polyglot file

[-] vrek@programming.dev 35 points 4 weeks ago

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 4 weeks ago

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

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

Programmer Humor

31697 readers
594 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