![]() There are countless transpilers of existing or new programming languages to JavaScript. Trans-compiling to JavaScript is a huge thing. Atwood’s Law seems to be confirmed: “Any application that can be written in JavaScript, will eventually be written in JavaScript.” People write office suites, emulators and 3D games in JavaScript. Some people even started to like JavaScript and are writing server-side code in it, for example the node.js community. And thanks to the JavaScript engine performance race started by Google some time ago with their V8 engine, there are now implementations available with decent performance – at least for a scripting language. The browser DOM API incompatibilities were ironed out by libraries like jQuery. It is the world’s most widely deployed programming language, it’s the only programming language option available in all browsers on all platforms. But even his book consists for the most part of advice on how to avoid the bad and the ugly parts. Just skim through the JavaScript Garden to get an idea.Īnother aspect casting a poor light on JavaScript is the bad design of the browser DOM API, including incompatibilities between different browser implementations.ĭouglas Crockford redeemed the reputation of JavaScript somewhat, by writing articles like “ JavaScript: The World’s Most Misunderstood Programming Language“, the (relatively thin) book “ JavaScript: The Good Parts” and discovering the JSON format. Lots of features are inconsistent and violate the principle of least surprise. Unfortunately, the haste in which JavaScript was designed by a single person shows in many places. It’s an interesting mixture of Self‘s prototype-based object model, first-class functions inspired by LISP, a C/AWK-like syntax and a misleading name imposed by marketing. JavaScript was designed at Netscape by Brendan Eich within a couple of weeks as a simple scripting language for the web browser. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |