lemmy.cryonex.net
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years ago

"☹️".reverse() == "🙂"

sopuli.xyz

message-square
8
link
fedilink
  • cross-posted to:
  • [email protected]
17

"☹️".reverse() == "🙂"

sopuli.xyz

hydroptic@sopuli.xyz to Programmer Humor@programming.dev · 2 years ago
message-square
8
link
fedilink
  • cross-posted to:
  • [email protected]
alert-triangle
You must log in or register to comment.
  • ABluManOnLemmy@feddit.nl
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    “🇮🇪”.reverse() = “🇨🇮”

  • Lifter@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    “A”.reverse() === “A”

    • hydroptic@sopuli.xyzOP
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      7 months ago

      deleted by creator

  • sus@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    but sometimes “👍🏽”.reverse() == “🏽👍”

  • lad@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    Yet we live in a world where

    "🇧🇬".reverse() == "🇬🇧" and "🇬🇪".reverse() == "🇪🇬"

  • SzethFriendOfNimi@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Imagine, if you will. A world where string reverse changes the character codes of the string.

    What beauty, what wonder would such a world have?

    Destruction and despair. Developers unsure why their programs don’t respond correctly. Ships run aground on islands already overcrowded with those who were shipwrecked before. Signal antennas pointed towards the sun with it’s constant noise. Spacecraft whose exhaust melt to slag populated cities as people briefly scream their final terrors of pain and suffering.

    This, is a world we should not want to live in. A world you can only find, in the Twilight Zone.

  • Brahvim@lemmy.kde.social
    link
    fedilink
    isiZulu
    arrow-up
    1
    ·
    2 years ago

    What’s with the lines of both equals symbols being combined together haha?

    • hydroptic@sopuli.xyzOP
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      edit-2
      7 months ago

      deleted by creator

  • RVGamer06@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Has someone made a library for that?

    • hydroptic@sopuli.xyzOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      7 months ago

      deleted by creator

      • petey@aussie.zone
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        I’m tempted to publish an NPM package to do so as a joke, but I fear that it’d get used seriously

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: [email protected]

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 1.12K users / day
  • 4.8K users / week
  • 9.2K users / month
  • 16.5K users / 6 months
  • 1 local subscriber
  • 34.2K subscribers
  • 2.36K Posts
  • 75.8K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org