this post was submitted on 18 Aug 2023
749 points (96.2% liked)

Programmer Humor

19377 readers
18 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] mojo@lemm.ee 49 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] MaggiWuerze@feddit.de -3 points 1 year ago (3 children)

So you only shower with 1° cold water? Or could the int maybe represent something like 40°C?

[–] sup4rawr@lemmynsfw.com 7 points 1 year ago (1 children)

but degrees aren't integers, you can definitely also shower at 40,5°C

[–] jcg@halubilo.social 3 points 1 year ago

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.

[–] wieli99@sh.itjust.works 2 points 1 year ago (1 children)

You're getting down voted, but you're right lol

[–] MaggiWuerze@feddit.de 3 points 1 year ago

Yeah, don't know why people would describe temperature on a 0-1 scale

[–] mojo@lemm.ee 1 points 1 year ago (1 children)

The temperature handle is either off or maxed out in this scenario. Not the temperature.

[–] MaggiWuerze@feddit.de -1 points 1 year ago

Yeah, that's why it says "supposed to work"