EventFrontier
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hydroptic@sopuli.xyz to Programmer Humor@lemmy.ml · 11 months ago

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

sopuli.xyz

message-square
10
fedilink
2

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

sopuli.xyz

hydroptic@sopuli.xyz to Programmer Humor@lemmy.ml · 11 months ago
message-square
10
fedilink
alert-triangle
You must log in or register to comment.
  • lelgenio@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago
    [🌽].pop() == 🍿
    
    • tetris11@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      11 months ago
      "🚴".push() = "🚲🤸"
      
  • tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago
    "🐈".concat() = "😼"
    
  • AllNewTypeFace@leminal.space
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    Then “b” backwards would have to be “d”

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

      "E".reverse() == "∃"

  • BaumGeist@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    deleted by creator

    • Boomkop3@reddthat.com
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      11 months ago

      wasn’t it
      🙁
      .
      r
      e
      v
      e
      r
      s
      e
      ()

      • Rain World: Slugcat Game@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 months ago

        deleted by creator

      • Rain World: Slugcat Game@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        7 months ago

        "
        🙂
        "
        .
        r
        e
        v
        e
        r
        s
        e
        (
        )
        =
        "
        🙃
        "

  • CanadaPlus@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    11 months ago

    Also, it should turn an error into an empty but successful call. /s

    • hydroptic@sopuli.xyzOP
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      Calling reverse() on a function should return its inverse

      • tetris11@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        11 months ago
        isprime.reverse(True)
        // outputs 19 billion prime numbers. Checkmate, atheists.
        

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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]

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 22 users / day
  • 913 users / week
  • 2.73K users / month
  • 9.86K users / 6 months
  • 1 local subscriber
  • 37.1K subscribers
  • 843 Posts
  • 6.2K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org