D
dhtml
RobG said:There still is not a strong consensus on what should be used throughout.Richard said:On Oct 7, 3:04 am, dhtml wrote: [...]
What do you want in the FAQ: JavaScript, EcmaScript,
or ECMAScript?
Javascript.
I think the consensus is pretty strong that ECMAScript should only be
used when referring specifically to the standard, otherwise use
javascript (or Javascript at the begining of sentences). When
referring to specific implementations, make it clear such as
"Mozilla's JavaScript" or "Opera's JavasScript" so there is no doubt.
Including the name of the implementation itself is probably only
useful for JScript.
"EcmaScript" should be changed to "ECMAScript", if used.
Yes.
OK.
FAQ 2.5 does a reasonable job of describing ECMAScript and ECMA 262
(though I would move the link to the PDF to the bottom of the entry).
Why not use ECMA-262 to make it clear that the reference is to the
specification and not the language in general? It should also be
possible to link to FAQ 2.5 wherever ECMA-262 is used.
OK. There's a definition of what JScript and JavaScript are (camel
cased), but then using javascript (LC) throughout. If javascript is
going to be used as such, there should be at least a sentence that
explains it.
I still think that there are cases where it's useful to differentiate
between the two. Specifically, when talking about the language itself.
For example:-
| Object models (OMs) are not part of the ECMAScript language: they
| are provided by the host to allow ECMAScript (or other scripting
| language) to communicate with the host. An object model may allow
| ECMAScript to access a file system, or control a nuclear power
| station. The most commonly used object models via ECMAScript are
| provided by Active Server Pages, Server Side JavaScript, and the
| Windows Script Host. The most common of all is the
| Document Object Model (DOM) provided by web browsers. Other
| document types such as SVG also define scriptable DOMs, mostly as
| extensions of the W3C Core DOM specification designed for use
| with XML documents.
By using ECMAScript (and not "javascript" in the above, it's clear that
we're not talking about "Client Side JavaScript," especially considering
that there is mention of "server side JavaScript" there.
Garrett