dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
MHLoppy to Programmer Humor@programming.dev • 2 months ago

isInHell = 'true'

fedia.io

message-square
75
fedilink
680

isInHell = 'true'

fedia.io

MHLoppy to Programmer Humor@programming.dev • 2 months ago
message-square
75
fedilink

Original post: hachyderm.io (Mastodon)

  • Lovable Sidekick
    link
    fedilink
    English
    8•
    edit-2
    2 months ago

    isInHell = '(x + 1 > x)'

    • @Flipper@feddit.org
      link
      fedilink
      4•2 months ago

      Fun and games till x overflows.

      • Lovable Sidekick
        link
        fedilink
        English
        1•2 months ago

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

        • @Flipper@feddit.org
          link
          fedilink
          4•2 months 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
  • 2.65K users / day
  • 4.7K users / week
  • 7.95K users / month
  • 17.1K users / 6 months
  • 23.3K subscribers
  • 1.39K Posts
  • 48.8K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org