merari42@lemmy.world to Programmer Humor@programming.dev · 2 days agoWishUnderflowlemmy.worldimagemessage-square38fedilinkarrow-up1456arrow-down110
arrow-up1446arrow-down1imageWishUnderflowlemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square38fedilink
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up4·2 days 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?