this post was submitted on 18 Aug 2023
645 points (96.8% liked)

Programmer Humor

19310 readers
1317 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 37 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 -1 points 1 year ago (2 children)

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

[–] 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"