• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 hours 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.