MHLoppy to Programmer Humor@programming.dev • 23 days agoisInHell = 'true'fedia.ioimagemessage-square83fedilinkarrow-up1688arrow-down14file-text
arrow-up1684arrow-down1imageisInHell = 'true'fedia.ioMHLoppy to Programmer Humor@programming.dev • 23 days agomessage-square83fedilinkfile-text
minus-squareLovable SidekicklinkfedilinkEnglish1•23 days agoLOL but it was ’ x + 1’ not ‘x += 1’ tho.
minus-square@Flipper@feddit.orglinkfedilink4•23 days agoWe 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.
isInHell = '(x + 1 > x)'
Fun and games till x overflows.
LOL but it was ’ x + 1’ not ‘x += 1’ tho.
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.