Language Size (was Re: [TLUG]: ECMAScript ("Javascript") Version 4 - FALSE ALARM)
Brendan Eich
brendan at mozilla.org
Wed Oct 31 14:42:46 PDT 2007
Yes, good points:
* Packages de-sugar to namespaces, pragmas, and a missing primitive
akin to gensym, to make the unforgeable package-public and package-
internal namespaces. They're almost totally syntactic conveniences.
* Along with reflecting the Program production's semantics, program
units allow programmers to express and check dependencies -- the two
forms: unit reference, 'use unit [locator]'; and unit provision 'use
unit [locator] { body }', are the familiar require/provide verbs from
other languages. This is a critical missing feature from ES1-3.
/be
More information about the Es4-discuss
mailing list