merari42@lemmy.world to Programmer Humor@programming.dev · 2 months agoWishUnderflowlemmy.worldimagemessage-square40fedilinkarrow-up1488arrow-down112
arrow-up1476arrow-down1imageWishUnderflowlemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square40fedilink
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up4·2 months ago I had a visceral reaction to this because obviously the wish count should be decremented before the wish takes place. Why? Shouldn’t you decrement the limited resource the user has access to in case the thing you are doing fails?
Why? Shouldn’t you decrement the limited resource the user has access to in case the thing you are doing fails?