473,778 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

EcmaScript, ECMAScript, or JavaScript ?

I made a change to the FAQ of javascript to EcmaScript.

I got some feedback that the newsgroup is CLJ and the language is
commonly referred to as JavaScript. Therefore, the word in the FAQ
should be JavaScript.

So I'm asking: what should I use in the FAQ?

Technically, 'JavaScript' is Mozilla's implementation of Ecma-262.

So - JavaScript or ECMAScript.

The second question is: where ECMAScript is used, should it be
'ECMAScript' or 'EcmaScript'?

Brendan always calls it "Ecma" and "Ecma TC3". Others do, too.

Technically, 'ECMAScript' is more official, though it's a little easier
to read and type camel case than all-caps.

What do you want in the FAQ: JavaScript, EcmaScript, or ECMAScript?

Garrett
Oct 7 '08 #1
34 3015
On Oct 7, 12:04*pm, dhtml <dhtmlkitc...@g mail.comwrote:
I made a change to the FAQ of javascript to EcmaScript.

I got some feedback that the newsgroup is CLJ and the language is
commonly referred to as JavaScript. *Therefore, the word in the FAQ
should be JavaScript.

So I'm asking: what should I use in the FAQ?

Technically, 'JavaScript' is Mozilla's implementation of Ecma-262.

So - JavaScript or ECMAScript.

The second question is: where ECMAScript is used, should it be
'ECMAScript' or 'EcmaScript'?

Brendan always calls it "Ecma" and "Ecma TC3". Others do, too.

Technically, 'ECMAScript' is more official, though it's a little easier
to read and type camel case than all-caps.

What do you want in the FAQ: JavaScript, EcmaScript, or ECMAScript?
The term ECMAScript should be used whenever referring to the
underlying language because that is an easily recognisable part of its
official name. EcmaScript is a bit "skript-kiddy" to me, even if it's
been adopted by its inventor.

JavaScript (capitalised) should be used only when referring
specifically to Netscape’s implementation of ECMAScript in their
browser. The Mozilla web site states that SpiderMonkey “Mozilla's C
implementation of JavaScript” and Rhino is their Java implementation.
It’s worth noting that Sun owns the JavaScript trademark, though
whether that is important or not is moot.

It is my understanding that the term javascript (no capitalisation) is
generally used to mean ECMAScript as implemented in a browser and
includes all the other host environment stuff as well (e.g. W3C DOM
and proprietary bits). If a comment refers to a specific
implementation, it should mention it by name (JScript, SpiderMonkey,
SquirrelFish and so on).

It is important that the FAQ points out the difference between
ECMAScript and its implementation in different environments.
--
Rob
Oct 7 '08 #2
dhtml <dh**********@g mail.comwrites:
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.).

It's no more incorrect than any of the other :)
/L
--
Lasse Reichstein Nielsen
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Oct 7 '08 #3
On Oct 7, 7:03*am, Lasse Reichstein Nielsen <lrn.unr...@gma il.com>
wrote:
dhtml <dhtmlkitc...@g mail.comwrites:
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" :-)

--
Jorge.
Oct 7 '08 #4
On Oct 7, 8:19*am, Jorge <jo...@jorgecha morro.comwrote:
On Oct 7, 7:03*am, Lasse Reichstein Nielsen <lrn.unr...@gma il.com>
wrote:
dhtml <dhtmlkitc...@g mail.comwrites:
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.""""""""@ph ysics.org or (better) via Home Page at
Web: <URL:http://www.merlyn.demo n.co.uk/>
FAQish topics, acronyms, links, etc.; Date, Delphi, JavaScript, ....|
Oct 7 '08 #5
On Oct 7, 3:04 am, dhtml wrote:
I made a change to the FAQ of javascript to EcmaScript.
And how is that supposed to help?
I got some feedback that the newsgroup is CLJ and the
language is commonly referred to as JavaScript. Therefore,
the word in the FAQ should be JavaScript.
Absolutely not. It is necessarily to be able to differentiate between
the ECMAScript implementation that has a name with that trademark
capitalisation and the general category of ECMAScript implementations .
As the latter is called "javascript " (with or without capitalisation)
but the former is named "JavaScript " (with the specific
capitalisation) it makes most sense to differentiate between the two
by employing alternative capitalisation. This has been discussed
before (and at length) and the wording employed in the FAQ represented
the consensus at the time.
So I'm asking: what should I use in the FAQ?
No.
Technically, 'JavaScript' is Mozilla's implementation of
Ecma-262.
And a Trademark name, as is "JScript".
So - JavaScript or ECMAScript.
Neither.
The second question is: where ECMAScript is used, should it be
'ECMAScript' or 'EcmaScript'?
ECMAScript.
Brendan always calls it "Ecma" and "Ecma TC3". Others do, too.
Always? URL (or any evidence substantiating that claim)?
Technically, 'ECMAScript' is more official, though it's a
little easier to read and type camel case than all-caps.
Typing ease is hardly an excuse, but use "javascript " (capitalised if
it appears at the beginning of a sentence) and it is likely that
readers will sufficiently understand what is being referred to.
What do you want in the FAQ: JavaScript, EcmaScript,
or ECMAScript?
Javascript.

Richard.
Oct 7 '08 #6
On 2008-10-07 18:35, Dr J R Stockton wrote:
One should be guided firstly by what ISO/IEC 16262 uses internally,
secondarily by what ECMA 262 uses internally,
Is there any difference between the two? I've never bothered with the
ISO specs, because I consider ECMA-262 to be normative, and because ISO
usually charges quite a bit for a copy of their specs.
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.
Wikipedia? As useful as it can be at times, I would very much ignore
what Wikipedia has to say about this topic. They're not an authority.
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.
...
Better, then, not to use ECMAScript except when referring to the
standard.
Agree about that. JavaScript is what it's generally know as, and the
distinction between the language standard and the names of the various
implementations is less important than letting people know what we're
talking about. The FAQ should explain the definitions (it does so
already, in part), and why "JavaScript " is used in the rest of the document.

Also, the MIME type is usually stated as "text/javascript", not
"text/ecmascript" or "text/name-of-implementation-script".
- Conrad
Oct 7 '08 #7
Conrad Lender wrote:
On 2008-10-07 18:35, Dr J R Stockton wrote:
>[...]
Better, then, not to use ECMAScript except when referring to the
standard.

Agree about that. JavaScript is what it's generally know as, and the
distinction between the language standard and the names of the various
implementations is less important than letting people know what we're
talking about.
Non sequitur. Those differences have become one important
reason why we are discussing here in the first place.

<http://PointedEars.de/es-matrix/(new revision still construction)
PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Oct 7 '08 #8
On 2008-10-07 19:25, Richard Cornford wrote:
>Technically, 'ECMAScript' is more official, though it's a
little easier to read and type camel case than all-caps.
Typing ease is hardly an excuse, but use "javascript " (capitalised if
it appears at the beginning of a sentence) and it is likely that
readers will sufficiently understand what is being referred to.
>What do you want in the FAQ: JavaScript, EcmaScript,
or ECMAScript?
Javascript.
With all due respect, but if "JavaScript " is a trademark, then
"Javascript " is protected as well (just like "ipod" is protected,
although the trademark is "iPod"). The trademarked spelling is camel
cased, but legally that does not give anybody the right to use the
"Javascript " spelling freely without infringing on the trademark. If
"Javascript " has become sufficiently widely used, and _not_ only in
connection with the trademarked implementation, then the trademark could
(if anybody cared enough) be voided, as it will no longer be unique
enough, and hence unenforcable.

Disclaimer: I've been working with patent attorneys for the last 5+
years, and while this definitely does not make me an expert in any way,
it did give me a pretty good general idea about the legal situation.

My point is that it would be unwise to make an important distinction
between JavaScript, Javascript, and javascript, just based on the
capitalization. That would be extremely confusing, especially for
newcomers. Writing it all-lowercase, as you suggested, would not help
the situation - all languages that I can think of are proper nouns and
written with capital initial letters; making "javascript " the only
exception would only cause more confusion.

Like it or not, JavaScript has become a pars pro toto expression; in
technical discussions we will keep the distinction between standard and
implementations , but in practical usage (and even in this group)
"JavaScript " is almost generally used as "all languages/implementations
derived from ECMAScript" (there are a few exceptions, such as
"ActionScript") .

One way to make the distinction clearer in the FAQ would be to use
JavaScript® and JScript® for trademarked names. At the very least the
FAQ could (should) mention which names are trademarked.
- Conrad
Oct 7 '08 #9
On Tue, 7 Oct 2008 at 09:35:04, in comp.lang.javas cript, Dr J R Stockton
wrote:

<snip>
>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.
<snip>

"JavaScript " with a capital J and capital S was a registered trademark
owned by Netscape when it was an independent company. It's likely that
it's still a trademark owned by some legal entity.

The ECMAScript standard defines the core language, though it allows and
expects a conforming implementation to provide further objects,
functions, etc.

Using "JavaScript " may need permission and can't be used when talking
about IE, by definition. Using "ECMAScript " implies you're restricting
your remarks to the core language. I claim that "javascript " is the most
suitable spelling when talking generally, with a capital J used only
when it's the first word in a sentence.

John
--
John Harris
Oct 7 '08 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
9464
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10292
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8954
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7471
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6722
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4031
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.