Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ECMA Script

 
Sandeep Jindal
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Please tell me what is ECMA script and how it is related/different from Java script and other scripting languages.

Thanks and Regards
Sandeep Jindal
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ECMAScript is the standard version of what is generally known as JavaScript.

The name JavaScript is mainly historical (though almost everyone uses it instead of the more technically correct name) and was invented by Netscape Corp. for their new browser scripting language in the old days (when men were real men, compilers were real compilers and small furry creatures from Alpha Centauri were sci/fi authors with too much to drink).
Netscape donated their work to ECMA (a standards body) and promptly started adding all kinds of Netscape specific stuff to their implementation leading to the mess of browserspecific JavaScript versions in use today.

Most any browser supports ECMAScript, if you stick to it you have effectively a common platform for your code.

It's similar to the story of ANSI C where compiler manufacturers often added their own non-standard "enhancements" which break compiler compatibility.
 
Sandeep Jindal
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeroen,

Really these sort of explanations really helps. When someone asked do u know ECMA Script, i used to say and yes to JavaScript.

Thanks Once Again.

Sandeep Jindal
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the HTML/Javascript forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic