• squaresinger@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    15 hours ago

    I wasn’t going to, and after I saw it it totally makes sense that it’s possible, it just never occurred to me.

    I guess this could be used like static variables inside functions in c. So scope-limited global variables. Not a good design choice in most cases.