• GTG3000@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

    Man, the variable scoping thing is insidious. It will never not be weird to me that ifs and loops don’t actually create a new scope.

    And then you try to do a closure and it tells you you didn’t import anything yet.