This shouldn't be news to anyone who's old enough to remember the internet in the 90's. Back then Microsoft named their EMCAScript implementation "JScript" to avoid problems with Sun's trademark (I'm sure everyone on here is already aware that Oracle bought Sun a few years back).
However I don't think this trademark is worth anything to Oracle any longer. Trademarks need to be defended or they're lost. This is why Wordpress have strict rules about how themes and related websites cannot contain the name "Wordpress"; and why you often see ridiculous cases about large companies sending scary legal notices to independent enterprises but then quietly settling out of court for token licence fees like £100 a year.
Javascript has long since entered the public domain so I suspect it's too late for Oracle to capitalise on their acquired trademark.
Let's be careful with terminology here. I'm (also) not an IP lawyer, but as I understand it your use of the term 'public domain' here is inappropriate.
If you're arguing that JavaScript has become genericized - on the basis, presumably, that there are multiple institutions making available various implementations of JavaScript without acknowledging or licensing Oracle's trademark - I'm not sure that's correct, and typically that would only be settled in a legal case. Certainly, Google, for example, publishes V8 and describes it as a "JavaScript Engine" - and makes no trademark acknowledgement toward Oracle that I can see; if Oracle wanted to they could probably attempt to enforce their trademark rights there. Mozilla, who distribute SpiderMonkey as a "JavaScript Engine", acknowledge the trademark (though they still attribute it to Sun). Oracle's failure to continually distribute any product which makes use of their trademark might count against them, but if they wished to argue that Mozilla has continually exercised Netscape's exclusive right to use the trademark, they might be able to get a sympathetic judge to rule Google out of order for claiming V8 is 'JavaScript'. Without a legal ruling, the situation's not clearcut.
Technically correct because by the definition that Wikipedia gives (http://en.wikipedia.org/wiki/Public_domain), non-enforcement of a trademark could lead to forfeit of the rights on that trademark, and that is one of the options mentioned in the definition.
But not idiomatic because the term is much more commonly used in copyright, rather than trademark, where it has a very specific legal meaning. A copyrighted work enters the public domain when the copyright expires (or in old cases, if the owner failed to renew the copyright).
I would say that it's not in wide, generic usage, but rather in wide, implicitly-specific usage.
That is, "generic usage" refers to things like people using "a kleenex" to refer to any facial tissue or "a xerox" to refer to any mimeograph. However, when people say "JavaScript", they always mean the exact same JavaScript: the one Oracle owns.
(It could be argued that they mean ECMAscript—but that's a bit like saying that people who say "pass me a coke" when what they have available are cans of no-name generic cola (with trade-dress explicitly reminiscent of Coca-Cola's, no less) are actually thinking they want any generic cola, rather than that they want a Coca-Cola and that the can you have to offer is merely an adequate stand-in.
You don't need to be a lawyer to understand trademark law. But if you want to dismiss my point then there's plenty of case studies around; pick a few and investigate things yourself. I think you'll end up coming to the same conclusion as myself though.
Agreed that you don't need to be an attorney to understand trademark law. I work with some of the best in the business, and they think my understanding is nearly as good as theirs.
Wikipedia says: "Today, 'JavaScript' is a trademark of Oracle Corporation. It is used under license for technology invented and implemented by Netscape Communications and current entities such as the Mozilla Foundation." [1]
It's one of a long list of Java-related trademarks originally registered by Sun:
Maybe Sun originally intended it to be the name of a Java-related product, and when Netscape invented JavaScript, they found out too late that the name had already been trademarked by Sun, so they licensed the trademark from Sun instead of changing the name? I'm just guessing. Does anyone know the real history?
According to Crockford[0], Netscape called it LiveScript, originally. In their attempt to 'destroy Microsoft', they teamed up with Sun. One of Sun's original goals with Java was making it the client-side scripting language for the browser. However, Netscape had LiveScript. Apparently the negotiations almost broke down over this point.
In an enlightened moment, (probably) Marc Andreessen proposed renaming LiveScript to JavaScript (despite the fact that the languages have very little in common), and joy was had. Sun got the JavaScript trademark (and passed it on to Oracle), and Netscape got a perpetual exclusive license to use it.
When JavaScript was standardized to avoid Embrace, Extend, Extinguish, Netscape refused to share its license, and so the official language was renamed to ECMAScript, after the standards body. When Sun was bought by Oracle, it also got the trademark, and presumably, Mozilla inherited the exclusive license from Netscape.
I was told by Robert Mathis that the name ECMAScript was picked as a draft name because they were unable to focus on standardizing the language due to all the fighting about the name. They figured the name was so awful that they would have to go back and change it before they finished the standard. Then they never got back around to changing it.
I thought the name "ECMAScript" was created out of necessity, presumably because Netscape had the exclusive license granted by Sun and using the name as part of the standard would affect that status?
They might as well have standardized it under the trademarked name, though. It seems that anything can be called JavaScript as long as it adheres to the spec (although strictly speaking Mozilla's JavaScript is versioned independently and the term "JavaScript" usually describes a superset of ECMAScript).
For anyone interested is JS history, this is the most comprehensive explanation of where JavaScript got its name I've heard (from Brendan Eichs POV)[1]. The podcast also deals with lots of other JS related history like what languages influenced it, the circumstances it was created under and the politics surrounding its conception. It's a great listen.
It's right there in the Wikipedia article you linked to:
Although it was developed under the name Mocha, the language was officially called LiveScript when it first shipped in beta releases of Netscape Navigator 2.0 in September 1995, but it was renamed JavaScript when it was deployed in the Netscape browser version 2.0B3.
The change of name from LiveScript to JavaScript roughly coincided with Netscape adding support for Java technology in its Netscape Navigator web browser. The final choice of name caused confusion, giving the impression that the language was a spin-off of the Java programming language, and the choice has been characterized as a marketing ploy by Netscape to give JavaScript the cachet of what was then the hot new web programming language.
I don't really understand what remains unclear. The cited section explains that when Java got put into the browser, executives of both companies got together and decided that it would be good PR to rename LiveScript into JavaScript.
As Java was a trademark by Sun, they obviously had to register JavaSript as well (if they hadn't already done so - I did not look up the timeline, but it's not really relevant to the argument). Getting a license from Sun made it possible for Netscape to use the name without the Java trademark becoming diluted. Remember, if you don't defend your trademark, you'll lose it.
True, but for a long time the only noteworthy "other user" was Microsoft and they kept calling it JScript for years even after they adopted the standard.
I'm not sure what exactly happened, but at some time after or during the lifetime of IE9 they stopped referring to their dialect of ECMAScript as "JScript" and began calling it "JavaScript". The most recent stuff I can find about JScript is about JScript.NET, which seems to be discontinued.
As Google, Apple and Microsoft are openly using the JavaScript trademark (without marking it as a trademark) these days, I'm going to go out on a limb here and guess that it's okay to use the term "JavaScript" to refer to an ECMAScript implementation that is compatible with the original JavaScript language developed by Netscape. This would probably preclude Adobe's ActionScript and other "enhanced" flavours of ES (e.g. JSX? I've never seen Facebook refer to JSX as "JavaScript <something>" in a way that would imply JSX is simply JavaScript).
As I understand it from Crockford's retelling and what I've read on the web and heard in podcasts, Sun was concerned that LiveScript could be seen as a competitor to Java if both were present in the browser. Netscape wanted Java but wasn't willing to kill off their scripting language, so they agreed to name it JavaScript to make it sound like the two are related (and JS being "merely" a scripting language, people would still prefer Java for "real" programs).
Apparently LiveScript was also originally planned to be more Lisp-like but then they went with C-like syntax because that was more popular at the time (see Java). And the entire language was cobbled together in a ridiculously short time frame (something like a couple of weeks?) and intended to be "beginner friendly", which is where a lot of the language's quirks come from.
Considering the original JS already contained the syntax Crockford would eventually define as JSON, you could say they managed to create not one but two languages at once. Say what you will about JS being a good language or not, but you have to respect that achievement.
Considering JS only became ECMAScript because Netscape was scared of incompatible copycats, you could argue JS as it is today wouldn't exist without Microsoft, too. Strange world, eh?
> Considering the original JS already contained the syntax Crockford would eventually define as JSON, you could say they managed to create not one but two languages at once.
No, the original version of JavaScript did not include object literals and array literals - the two foundations of JSON.
Object and array literals were introduced in JavaScript 1.2:
Right, and note to grand-parent post: Crockford was not at Netscape so he's not the eyewitness you're looking for.
I created JS1.2 and SpiderMonkey in fall 1996, as described in that JS Jabber podcast. Find this part in the transcript:
"I started to rewrite the VM, pay off technical debt, and I wrote what became SpiderMonkey. The original Mocha VM was not SpiderMonkey."
Object and array initialiser syntax was inspired by Python of the time (1996 would be Python 1.x, x around 6 IINM), but I made property names literals when spelled without quotes, as identifiers (same as the implicitly quoted name on the right of dot in member expressions).
In ES6 (in imitation of computed property access using square brackets) you can finally compute property names in object initialisers too:
Okay, so you didn't create the syntax JSON was based on until JS1.2? What I was getting at remains true then, though: you created JS and you created the object and array literal syntax that Crockford then "discovered" (to quote Crockford) and defined as JSON. Even if you didn't do it in the same couple of days it took you to create the original JS itself ;)
The eventual compromise was that JavaScript would be a playground for experimentation and learning; whereas, Java was designed for hardcore computer science-types. If you wanted to add rich functionality to your site, you'd use JavaScript to call into a Java library, which did the heavy lifting. (This was paraphrased from Brendan Eich's The Origin of JavaScript: http://javascriptjabber.com/124-jsj-the-origin-of-javascript...)
Of course, the web community embraced Shockwave/Flash over Java, and Java retreated to the server and mobile. Later, Steve Jobs was famously unimpressed with Macromedia/Adobe's forays into mobile and refused to ship a Flash interpretter in iOS. This led to the decline of Flash and a rising interest in creating a rich stack for client-side applications in JavaScript, bringing us to today's stack (canvas, WebGL, web audio, WebRTC, Ember/Angular/React, web components, pnacl/asm, etc.).
Absolutely, companies like Kimberly-Clark and Johnson& Johnson for Kleenex and Band-Aid dedicate millions to ensuring you understand a clear distinction between the name and what it is. Hence the Jingle "That's why I'm stuck on Band-Aid BRAND and Band-Aids stuck on me." Emphasis mine. When do you ever hear the word Brand in a jingle or marketing message outside the 60's?" Only when the product is in danger of loosing it's trademark due to common use (or crappy naming teams like the ones at Microsoft).
But ECMAScript is a mouthful to say and sounds a bit like a skin condition, I don't think that's ever going to become the common name people use for it.
The complaint still holds though. Add "-osis" to get "ecmascriptosis", something that sounds more likely to be overheard in a hospital than at a Node meetup.
I've been programming JavaScript professionally for ten years and have interacted with thousands of JavaScript developers online and offline. I have never once heard anyone call the language ECMAScript except when they were specifically referring to the ECMA-262 specification.
Edit: After writing that I thought back, and now I do remember one time when somebody called the language ECMAScript when they weren't referring to the ECMA standard. I think this was the exception that proves the rule!
Given the committee's track record, do you think they will manage to change script type= text/javascript by 2050, or it will take a bit longer than that?
That's a MIME type. Those don't get removed. They're also not necessary. The only reason to use the type attribute on the script element is to use a MIME type that isn't ECMAScript's so that the browser doesn't execute it as such.
Don't try to have a sense of humor on HN threads. You'll get modded into oblivion and have your joke disassembled and laid bare in an attempt to show how "unfunny" it might be. HN is serious business for serious people. Seriously.
Amongst many other trademarks. The one that irritates me is that we really really wanted to call the browser "Webrunner" and at the last moment of trademark clearance we heard that Taligent (the Apple/IBM thing) had already gotten it. I still have the jacket where we had the stitching done [1]. So we ended up calling it HotJava. Sigh.
Unless Oracle makes web browsers, I don't think under any circumstance. They'd be up against the internet itself (not an over-exaggeration), and any tech giant you could imagine. From Apple, Google, Microsoft, I think we're done here, not to mention Mozilla, yeah, not going to go over well. They may be money hungry, but they're not moronic.
And in the Unity Editor when you use the Add Component / New Script, they call it "Java Script"!
Everyone would be better served if Unity would call it UnityScript consistently, since as you mentioned, their language isn't JavaScript but is a fairly loose adaptation of it. It's more of a JavaScript-like language than real JavaScript.
Oracle knows how to use the legal system to obtain money. It's one of their core competencies. If you know the history of Oracle, you know that's not sarcasm, it's just an observation. If they're not doing it now, it's because they (correctly) realize there's no chance they could make money with it, and I don't see that changing in the future. If they actually tried to sue someone for it, "JavaScript" would change to "ECMAScript" at the speed of "Find & Replace".
People generally bring up kleenex and xerox as the examples of trademarks lost to generic use (and someone upthread mentioned band-aid), but I think a more interesting example is coke. There are large regions of the US where "coke" is the general term for soda, so that the following invented example wouldn't raise eyebrows:
A: Want a coke?
B: Yes, a 7-up please.
(Or at least, it wouldn't raise eyebrows for the implication that a 7-up is a kind of coke.)
How is Coca-Cola dealing with this? Do they have a policy or a strategy?
I wondered about that. I would prefer it if we all started calling it JS (as many do), and pretended it stood for -- the language. Though I suppose we'd keep having to say "the language formerly known as JavaScript" in many contexts.
I also like the JS logo and its variations. I'm assuming Oracle could lay no claim to that . . .
A lot of JS developers call it "ECMAScript" these days. A lot more frequently than, say, ten years ago.
Mostly this is because we no longer care about JavaScript version numbers (I facepalmed when I saw a dropdown in JetBrains' WebStorm IDE that offered various "JavaScript 1.x" options as the language environment). Instead we only care about "ES 3", "ES 5" (i.e. ECMAScript 5.1) and "ES 6" (which frequently also refers to ES 7 and beyond). At the same time I see less and less references to "Harmony", probably because the spec that came out of it is now openly using a real version number.
Of course the irony here is that what people often think of as "JS" these days is not actually Mozilla's JavaScript implementation but that of V8, as used in Chrome, node.js and other places (probably because V8 is relatively painless to embed).
However I don't think this trademark is worth anything to Oracle any longer. Trademarks need to be defended or they're lost. This is why Wordpress have strict rules about how themes and related websites cannot contain the name "Wordpress"; and why you often see ridiculous cases about large companies sending scary legal notices to independent enterprises but then quietly settling out of court for token licence fees like £100 a year.
Javascript has long since entered the public domain so I suspect it's too late for Oracle to capitalise on their acquired trademark.