AndyC wrote:
ES4 is compatible with ES3, but whether or not it's compatible with the various spin-offs (JScript, JavaScript et al) is a whole other matter.
I like to think of ECMAScript as being the syntax and language specifications, but the named implementations as being a bunch of added APIs and intrinstics, consider Flash's ActionScript or WScript JScript.
AndyC wrote:
I can definitely see the temptation in ditching the whole thing in favour of an entirely standardised, well specified language that was free from all the issues that currently exist. Whether or not that would be an entirely wise idea
is a whole other matter.
This really should be up to the W3C IMO. The current document markup specifications allow any scripting language to be used. Why can't we just use the status-quo? Certain UAs might support additional scripting languages for specific purposes (okay, this is
hypothetical, in reality this isn't the case).
Anyway I read a few blog posts and pages the other day about people wanting to add type support to EMCAScript, along with stuff featured in most other programming languages. I question the point in this, many people first got started in progrmming with Javascript,
so let's keep it as simple as possible. Why do in-page scripts need strong-typing anyway? The W3C advises against pages and apps which rely on client scripting to operate, so this sort of makes it a moot point.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.