Skip to content

Please introduce explicit shadowing #2697

Closed
@a-square

Description

@a-square

A (simplified) real life example of why it's important: https://gist.github.com/Kallikanzarid/4736201

I see no reason to take away a feature of JavaScript that's useful, not broken, and cannot be misused.

Edit: also, for some reason many people claim that the same problem exists in Scheme. It doesn't, as the code in my gist illustrates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions