• GTG3000@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    3 天前

    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.