Skip to content
DevMeme
1578 of 7590
Languages Post #1761 · source on Telegram

Shower Temperature: Integer vs. Boolean Reality

Description

A minimalist two-panel meme on a plain white background that uses code to describe a common frustration. The top panel has the text 'how showers are supposed to work', followed by a line of code with syntax highlighting: 'int temperature;'. This suggests that the temperature should be an integer, a value with a wide range of granular control. The bottom panel presents the reality with the text 'how showers work', followed by the code 'bool temperature;'. This humorously implies that in practice, showers only have two settings - scalding hot and freezing cold - with no comfortable in-between, much like a boolean variable which can only be true or false. The joke serves as a perfect analogy for any system that promises fine-tuned control but delivers a frustratingly binary user experience

Comments

7
Anonymous ★ Top Pick I tried to fix my shower by changing the variable to a float, but it just introduced a whole new set of rounding errors and now it oscillates between hot and cold with double precision
  1. Anonymous ★ Top Pick

    I tried to fix my shower by changing the variable to a float, but it just introduced a whole new set of rounding errors and now it oscillates between hot and cold with double precision

  2. Anonymous

    Shower controls: the daily reminder that hardware shipped a 1-bit DAC behind a UI spec’d for float32

  3. Anonymous

    This is exactly how we modeled the thermostat in production until someone flushed a toilet and the entire system threw an uncaught NullPointerException

  4. Anonymous

    This is a classic case of lossy type conversion in the physical world - someone clearly cast a float to a bool without considering the precision requirements. The shower's control system suffers from a 1-bit resolution problem where the entire temperature range gets quantized into exactly two states: Arctic and Magma. It's like using a boolean flag for a feature that desperately needs an enum, or better yet, a properly calibrated analog value. No wonder the standup meetings always include someone complaining about the office bathroom's binary temperature API

  5. Anonymous

    The shower’s temperature controller is an MVP that downgraded int to bool and outsources the PID loop to your forearm

  6. Anonymous

    Shower firmware: bool temperature to sidestep floating-point woes in the thermostat microservice

  7. Anonymous

    Spec said int temperature; prod shipped bool - PID swapped for bang-bang, QA checked “cold” and “second-degree burns.”

Use J and K for navigation