alphacyberrangercake to Programmer Humor@programming.devEnglish • 11 months agoInt and bool walk into a barlemmy.worldimagemessage-square33fedilinkarrow-up1781
arrow-up1781imageInt and bool walk into a barlemmy.worldalphacyberrangercake to Programmer Humor@programming.devEnglish • 11 months agomessage-square33fedilink
minus-square👁️👄👁️linkfedilinkEnglish51•edit-211 months 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-squareMaggiWuerzelinkfedilink4•11 months agoSo you only shower with 1° cold water? Or could the int maybe represent something like 40°C?
minus-square@sup4rawr@lemmynsfw.comlinkfedilinkEnglish7•11 months agobut degrees aren’t integers, you can definitely also shower at 40,5°C
minus-square@jcg@halubilo.sociallinkfedilink3•11 months 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👁️👄👁️linkfedilinkEnglish3•11 months agoThe temperature handle is either off or maxed out in this scenario. Not the temperature.
minus-square@wieli99@sh.itjust.workslinkfedilink2•11 months agoYou’re getting down voted, but you’re right lol
minus-squareMaggiWuerzelinkfedilink3•11 months agoYeah, don’t know why people would describe temperature on a 0-1 scale
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”
You’re getting down voted, but you’re right lol
Yeah, don’t know why people would describe temperature on a 0-1 scale