LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sphks@jlai.lu to Programmer Humor@programming.dev · 7 hours ago

< :-( >

jlai.lu

message-square
34
fedilink
516

< :-( >

jlai.lu

Sphks@jlai.lu to Programmer Humor@programming.dev · 7 hours ago
message-square
34
fedilink
  • Deebster@infosec.pub
    link
    fedilink
    arrow-up
    16
    ·
    7 hours ago

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

    • 9point6@lemmy.world
      link
      fedilink
      arrow-up
      34
      ·
      7 hours ago

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

      • 𝕊𝕞𝕒𝕔𝕜𝕖𝕞 𝕎𝕚𝕥𝕥𝕒𝕕𝕚𝕔 🇵🇸@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        5 hours 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

        • 𝕊𝕞𝕒𝕔𝕜𝕖𝕞 𝕎𝕚𝕥𝕥𝕒𝕕𝕚𝕔 🇵🇸@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          5 hours ago

    • Natanael@slrpnk.net
      link
      fedilink
      arrow-up
      16
      ·
      7 hours ago

      Absolutely, that’s a polyglot file

      • vrek@programming.dev
        link
        fedilink
        English
        arrow-up
        24
        ·
        6 hours 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.

        • Arthur Besse@lemmy.ml
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 hours ago

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

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.08K users / day
  • 4.5K users / week
  • 7.97K users / month
  • 17.6K users / 6 months
  • 1 local subscriber
  • 31.3K subscribers
  • 1.22K Posts
  • 23.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org