MHLoppy to Programmer Humor@programming.dev • 9 months agoisInHell = 'true'fedia.ioimagemessage-square82fedilinkarrow-up1690arrow-down14file-text
arrow-up1686arrow-down1imageisInHell = 'true'fedia.ioMHLoppy to Programmer Humor@programming.dev • 9 months agomessage-square82fedilinkfile-text
minus-squareLovable SidekicklinkfedilinkEnglish1•9 months agoLOL but it was ’ x + 1’ not ‘x += 1’ tho.
minus-square@Flipper@feddit.orglinkfedilink4•9 months 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.