• Boomkop3@reddthat.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 day ago

    Again, it’s an easy refactor to make it not global. There are cases where that extra abstraction work simply does not add value.

    With your background, you should know that

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      21 minutes ago

      it’s an easy refactor to make it not global

      I have enough experience to know that making global state non-global is usually anything but easy.