sunnie@lemmy.cacake to Programmer Humor@programming.dev · 5 months agono amount of documentation can save users from themselveslemmy.caimagemessage-square30fedilinkarrow-up149arrow-down10
arrow-up149arrow-down1imageno amount of documentation can save users from themselveslemmy.casunnie@lemmy.cacake to Programmer Humor@programming.dev · 5 months agomessage-square30fedilink
minus-squareVeganPizza69 Ⓥ@lemmy.worldlinkfedilinkarrow-up0·edit-25 months agoif ( parameters.teaMass <= TEA_BAG_WEIGHT ) { return "Error: incorrect input. Check if tea bag was inserted correctly into water container." }
minus-squaregnutrino@programming.devlinkfedilinkEnglisharrow-up1·edit-24 months 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.