1247
submitted 11 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 14 points 11 months ago* (last edited 11 months ago)
if ( parameters.teaMass <= TEA_BAG_WEIGHT ) { 
    return "Error: incorrect input. Check if tea bag was inserted correctly into water container."
 }
[-] [email protected] 9 points 11 months ago* (last edited 10 months ago)

And then a user starts adding weights to the label until it passes.

[-] [email protected] 1 points 11 months ago
[-] [email protected] 4 points 11 months ago

#define TEA_BAG_WEIGHT 0

this post was submitted on 11 Aug 2024
1247 points (99.0% liked)

Programmer Humor

24874 readers
990 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 2 years ago
MODERATORS