Why is javascript backward compatible with the error?

In Coders at Work , Douglas Crockford discusses how browser errors make Javascript be a complex, clumsy language and fix it, 22. Back to top JavaScript using DOM and Ajax scripts Christian Heilmann says something similar. "[The] large number of user agents , various technical sophistication [...] poses a great danger to JavaScript. "

Why doesn't JS have a new version? Is there something inherent in language design where backward compatibility becomes mandatory?

Update
Why can't javascript work with multiple engines in parallel? Similar to how .NET runs versions 2, 3, and 4 on the same computer.

+5
source share
8 answers

Lazy copypasta on OP request:

JavaScript is just a programming language : syntax and semantics . It does not have built-in support for browsers (read: browser DOM). You can create a JS program that runs outside of the browser. You (should) know what the API is - the DOM is just a JavaScript API for managing an HTML page. There are other DOM APIs in other languages ​​(C #, Java, etc.), although they are used more for things like XML. It makes sense?

Perhaps this MDC article may clarify further.

+4
source
+3

.

, .

PHB , javascript ? , ( , , 2 ).

+3

, -, :)

+2

- .

, Javascript , .

, Javascript , . , . , - Javascript , , .

- , Javascript, , . Javascript. , . Javascript .

+2

5 "" . , , . "", , - .

, IE Mozilla, "" - (IE ).

+2

Javascript . , ( ). , , javascript Internet Explorer. Microsoft . , Microsoft . , Microsoft , , , IE 9.0. javascript , , - . , - . javascript .

+1

JavaScript - . , , ... , [1,] 2 Internet Explorer.

JavaScript - , . jQuery, Dojo, Mochikit .. - , , , , . , .NET Java : . C ++ (Boost, ).

, , ECMAScript.

Google JavaScript . : http://www.dartlang.org/ , JavaScript . , , , (, , Dart Javascript JavaScript, ). , , JavaScript nazi ^ W , , , JavaScript. . , "classpath".

0
source

All Articles