alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoInt and bool walk into a barlemmy.worldimagemessage-square31fedilinkarrow-up1713
arrow-up1683imageInt and bool walk into a barlemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square31fedilink
minus-square👁️👄👁️@lemm.eelinkfedilinkEnglisharrow-up46arrow-down1·edit-21 year agoShouldn’t it be a float that goes between 0 and 1 instead of an int. In this situation they’d be the same thing, considering 1 would be max lol.
minus-squareMaggiWuerze@feddit.delinkfedilinkarrow-up2arrow-down6·1 year agoSo you only shower with 1° cold water? Or could the int maybe represent something like 40°C?
minus-squaresup4rawr@lemmynsfw.comlinkfedilinkEnglisharrow-up5·1 year agobut degrees aren’t integers, you can definitely also shower at 40,5°C
minus-squarejcg@halubilo.sociallinkfedilinkarrow-up2·1 year agoNot to overdissect a meme, but it really should be an unsigned byte since that’s what the digitiser would probably have as an input or output.
minus-square👁️👄👁️@lemm.eelinkfedilinkEnglisharrow-up2arrow-down1·1 year agoThe temperature handle is either off or maxed out in this scenario. Not the temperature.
minus-squareMaggiWuerze@feddit.delinkfedilinkarrow-up1arrow-down2·1 year agoYeah, that’s why it says “supposed to work”
Shouldn’t it be a float that goes between 0 and 1 instead of an int. In this situation they’d be the same thing, considering 1 would be max lol.
So you only shower with 1° cold water? Or could the int maybe represent something like 40°C?
but degrees aren’t integers, you can definitely also shower at 40,5°C
Not to overdissect a meme, but it really should be an unsigned byte since that’s what the digitiser would probably have as an input or output.
The temperature handle is either off or maxed out in this scenario. Not the temperature.
Yeah, that’s why it says “supposed to work”