GGG Federation
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
MHLoppy@fedia.io to Programmer Humor@programming.dev · il y a 2 mois

isInHell = 'true'

fedia.io

message-square
83
fedilink
684

isInHell = 'true'

fedia.io

MHLoppy@fedia.io to Programmer Humor@programming.dev · il y a 2 mois
message-square
83
fedilink

Original post: hachyderm.io (Mastodon)

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    il y a 2 mois

    isInHell = '(x + 1 > x)'

    • Flipper@feddit.org
      link
      fedilink
      arrow-up
      4
      ·
      il y a 2 mois

      Fun and games till x overflows.

      • Lovable Sidekick@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        il y a 2 mois

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

        • Flipper@feddit.org
          link
          fedilink
          arrow-up
          4
          ·
          il y a 2 mois

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

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

  • 1.23K users / day
  • 4.77K users / week
  • 9.14K users / month
  • 17.8K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.28K Posts
  • 39.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org