Strict mode recap

Jon Zeppieri jaz at bu.edu
Fri Apr 11 10:09:40 PDT 2008


On Fri, Apr 11, 2008 at 1:05 PM, Jon Zeppieri <jaz at bu.edu> wrote:
>
>  Yep, I agree with this, too.  I certainly wouldn't want to mandate
>
>     var public::x
>
>  in classes and wouldn't really want to write it myself.  But there's
>  some value in having a single, canonical syntactic form that will work
>  everywhere.  (If ES5 adds some kind of macro system, it would be more
>  useful.)

In case it isn't clear, I'm not asking "Why not drop the Java-like
syntax?" but rather, "Why not consider the Java-like syntax as sugar
on top of a canonical syntax that works in initializers and classes?"



More information about the Es4-discuss mailing list