this post was submitted on 28 Jul 2026
478 points (96.0% liked)

Programmer Humor

32547 readers
1661 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 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] LeFrog@discuss.tchncs.de 5 points 3 days ago (1 children)
if glass.empty?
  make_sad_noise
else
  homi.hydrate(glass.qty)
end
[โ€“] rbn@sopuli.xyz 2 points 3 days ago

You should check against homi.healthyCapacity first unless you want to drown them.