On Tue, Sep 1, 2015 at 12:03 AM, Allen Wirfs-Brock wrote:
> Both the alternative suggest by Jason and the one suggest by Saam were
> considered and rejected in these discussions. It's easy to imagine a
> different semantics. It's harder to demonstrate that it is a "better
> semantics" and to get agreement on that. [...]

This is a very thorough and fair response, Allen, thanks.

> Regarding, global declarations in a REPL.  A REPL is a extra-lingual
> features. In it not covered by the language specification.  A REPL
> implementation is certainly free to define it's own rules [...]

Well, yes, but at some cost to developers, who use the REPL to inquire
into the language's behavior, right? The more modes we have, and the
more different the REPL mode is, the more often the REPL will mislead
them.

(...to digress a bit, the SpiderMonkey JS shell currently defaults to
a nonstandard mode, for unrelated reasons. And it does mislead people.
I want to change it:
<https://bugzilla.mozilla.org/show_bug.cgi?id=1192329>)

In any case, we're agreed that an occasional bad REPL interaction
would be no big deal on its own.

-j
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to