Likewise. E is also a scripting repl language with dynamic types and static
scopes. We tried a variety of different ways to handle the top level repl
and nested scopes were best.
On Sep 30, 2014 4:04 AM, "Andreas Rossberg" <rossb...@google.com> wrote:

> On 30 September 2014 12:52, Jason Orendorff <jason.orendo...@gmail.com>
> wrote:
> > I just realized this has an unfortunate implication for REPLs. Suppose
> > you make this typo:
> >
> >     js> let x = Math.cso(a)    // oops, TypeError, should be Math.cos
> >
> > Now x is irreparably hosed in your REPL. That seems bad.
>
> No surprise. One of the reasons why I always favoured a nested scopes
> model for multiple scripts...
>
> /Andreas
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to