repeated parameter names and default values

Allen Wirfs-Brock allen at
Fri Sep 28 08:48:20 PDT 2012

On Sep 28, 2012, at 7:58 AM, John Lenz wrote:

> On Thu, Sep 27, 2012 at 10:12 AM, Allen Wirfs-Brock <allen at> wrote:
> Another:
> The notes from last week's meeting said WRT function parameter bindings:
> Conclusion/Resolution
> - `var` bindings and are in scope within the function
> - cannot use `let` to shadow a parameter
> In any scope, or just the top scope of the function?  Restricting "let" in this fashion seems odd. Does let otherwise have any shadowing restrictions?  Not that I expect this to be problematic except when translating code from other languages (either by hand or by a cross compiler). 

Those specific conclusions were WRT function arguments and top level function declarations.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list