alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoInt and bool walk into a barlemmy.worldexternal-linkmessage-square31fedilinkarrow-up1775arrow-down129
arrow-up1746arrow-down1external-linkInt and bool walk into a barlemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square31fedilink
minus-square👁️👄👁️@lemm.eelinkfedilinkEnglisharrow-up49arrow-down2·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-up4arrow-down7·1 year agoSo you only shower with 1° cold water? Or could the int maybe represent something like 40°C?
minus-squarewieli99@sh.itjust.workslinkfedilinkarrow-up2·1 year agoYou’re getting down voted, but you’re right lol
minus-squareMaggiWuerze@feddit.delinkfedilinkarrow-up3·1 year agoYeah, don’t know why people would describe temperature on a 0-1 scale
minus-square👁️👄👁️@lemm.eelinkfedilinkEnglisharrow-up3arrow-down2·1 year agoThe temperature handle is either off or maxed out in this scenario. Not the temperature.
minus-squareMaggiWuerze@feddit.delinkfedilinkarrow-up2arrow-down3·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?
You’re getting down voted, but you’re right lol
Yeah, don’t know why people would describe temperature on a 0-1 scale
The temperature handle is either off or maxed out in this scenario. Not the temperature.
Yeah, that’s why it says “supposed to work”