Evolving from the JavaScript of today to the JavaScript of tomorrow (ES3 -> ES4)
11.30.07 - 10:27am
Lars Hansen of Adobe has written a really great tutorial for ES4 that describes the evolution of a library project written in JS using current technologies, as it incrementally incorporates features of the new language to simplify and improve the code for readability, integrity and performance.
That sounds like a lot of weasel-words. The tutorial demonstrates a library which otherwise has no requirement to be modified at all, but which gradually, simply, and piece-by-piece, as its author’s see fit, improves itself — and the environment to which it exposes its clients — over time, by incorporating some of the new, powerful features of ECMAScript4.
The tutorial is very approachable; even if you don’t consider yourself a language geek, you should check it out. If you’re curious as to what the designers behind ES4 are thinking about, and how they plan to shape the future of the web with the new version of the language, this paper provides some great clues.
Leave a Comment