• SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    31
    ·
    2 months ago

    I had a visceral reaction to this because obviously the wish count should be decremented before the wish takes place. Even though I can’t think up a convincing technical argument for it.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      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?

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      You’d need a check to make sure they don’t wish for something not allowed (like more wishes).