On Oct 7, 8:19*am, Jorge <jo...@jorgechamorro.com> wrote:
> On Oct 7, 7:03*am, Lasse Reichstein Nielsen <lrn.unr...@gmail.com>
> wrote:
>
> > dhtml <dhtmlkitc...@gmail.com> writes:
> > > What do you want in the FAQ: JavaScript, EcmaScript, or ECMAScript?
>
> > Personally, I use "Javascript" about the collection of languages that
> > are ECMAScript compatible (anything that triggers off the (unofficial)
> > MIME type "text/javascript").
> > This includes JavaScript(TM), JScript(TM) and other unnamed
> > implementations (e.g., in Opera, Safari, Chrome, etc.).
>
> Safari's JS interpreter is called, properly enough, JavaScriptCore.
>
> > It's no more incorrect than any of the other 
>
> You're not alone, most books are titled [something]+"JavaScript"+
> [something]: i.e. "JavaScript: The good parts", not "ECMAScript: The
> good parts" *
One should be guided firstly by what ISO/IEC 16262 uses internally,
secondarily by what ECMA 262 uses internally, thirdly by what
Wikipedia uses (because inappropriate notation will have been changed
there); but in the case of single-source products use what the source
uses.
That means ECMAScript, JavaScript, JScript.
Since the language is so widely known as JavaScript, and the newsgroup
is CLJ, the general name used in the FAQ should be JavaScript rather
than ECMAScript. Remember that the FAQ is intended to be read by
ordinary people.
Remember also that one should, in principle, not code in full
ECMAScript. Instead, one should code in that subset of ECMAScript
which one believes to be properly supported in all target executing
agents. That means, for example, not using toFixed if certain
arguments are possible. Better, then, not to use ECMAScript except
when referring to the standard.
Intranet authors can code in a superset of that subset, adding the use
of non-ECMA features supported on all relevant systems.
One might argue for using JavaScript for what is compliant with the
standards, and Javascript or javascript more generally. But it would
be difficult to sustain that reliable, and readers would not remember
the significance.
--
(c) John Stockton, near London, UK. Posting with Google.
Mail: J.R.""""""""@physics.org or (better) via Home Page at
Web: <URL:http://www.merlyn.demon.co.uk/>
FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ....|