sunnie to Programmer Humor • 1 month agono amount of documentation can save users from themselveslemmy.caimagemessage-square85fedilinkarrow-up11.25Karrow-down113
arrow-up11.24Karrow-down1imageno amount of documentation can save users from themselveslemmy.casunnie to Programmer Humor • 1 month agomessage-square85fedilink
minus-squareVeganPizza69 Ⓥlinkfedilink14•edit-21 month agoif ( parameters.teaMass <= TEA_BAG_WEIGHT ) { return "Error: incorrect input. Check if tea bag was inserted correctly into water container." }
minus-square@gnutrinolinkEnglish9•edit-227 days agoAnd then a user starts adding weights to the label until it passes.
if ( parameters.teaMass <= TEA_BAG_WEIGHT ) { return "Error: incorrect input. Check if tea bag was inserted correctly into water container." }
And then a user starts adding weights to the label until it passes.
unlikely
#define TEA_BAG_WEIGHT 0