The TTRPG network
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
MHLoppy@fedia.io to Programmer Humor@programming.dev · 2 years ago

isInHell = 'true'

fedia.io

message-square
82
link
fedilink
686

isInHell = 'true'

fedia.io

MHLoppy@fedia.io to Programmer Humor@programming.dev · 2 years ago
message-square
82
link
fedilink

Original post: hachyderm.io (Mastodon)

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    2 years ago

    isInHell = '(x + 1 > x)'

    • Flipper@feddit.org
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Fun and games till x overflows.

      • Lovable Sidekick@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        LOL but it was ’ x + 1’ not ‘x += 1’ tho.

        • Flipper@feddit.org
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          We don’t know what value X has. If it isn’t initialised it could have any value including the maximum. Then it would overflow.

          But let’s be honest, that is unlikely.

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
    • 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.

  • 421 users / day
  • 3.07K users / week
  • 7.01K users / month
  • 16K users / 6 months
  • 68 local subscribers
  • 33.3K subscribers
  • 2.56K Posts
  • 99.5K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.18
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org