• GTG3000@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    3 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.