JavaScript creator and current CTO of Mozilla Corporation Brendan Eich provides a detailed history of JavaScript, including some of the more interesting programs written with JavaScript, right up to how JavaScript has been essential to the Ajax or Web 2.0 revolution.
Eich started work on JS in 1995 and says he’s been surprised by how popular it has been: “I was resigned for a long time to JS being unpopular due to those annoying popups, but more: due to its unconventional combination of functional and prototype-based object programming traditions.”
And with multicore/massively-parallel computers upon us, Eich talks about the future of JavaScript: “JS has its role to play in addressing the multicore world, starting with relatively simple extensions such as Google Gears’ worker pools — “shared nothing” background threads with which browser JS communicates by sending and receiving messages.”
Previous articles in this series have been great, there’s lots of interesting information about the history and development of the different languages while this one seems lacking.
I really like javascript as a language. The biggest problem, though, is Internet Exploder, whose implementation of Javascript is unspeakably poor, and really spoils it for me.
Of course, that’s probably what Microsoft intended….
So use a toolkit like Dojo to abstract out the IE vs. Rest-Of-The-World issues.
dude, jquery all the way. css selectors + implementation abstraction + javascript = awsome
Its more than the differences. Javascript in IE is slow like up to 10 times slower the Gecko / Webkit. It is also prone to memory leaks in AJAX style web apps.
IMO one of javascripts big problem is its name. Its called java, it looks like java, but it is a dynamic, not a strongly typed language. If you treat it as a strongly typed language, it is going to be hell to work with. If you treat it as a dynamic language, it is actually incredibly powerful and expressive.
I also think that it doesn’t help that Javascript is often used for tasks that are better-suited to server-side scripting languages. If I just need to run a search-replace on a text string, or truncate a string to a specific number of characters, I’ll use Javascript (of course, if users need to be able to dynamically expand/collapse the truncated string without a page reload, then I’ll use JS).
http://280slides.com/
http://www.sproutcore.com/
We are seeing some seriously impressive stuff being done on the front end. sproutcore actually has a data layer that can hook into either stuff like google gears, or a web service for persistence.
But not because of a lot of news, but I enjoyed getting to know the guy behind one of the most exposed, underrated, overrated and disputed programming languages.
I agree with the comments about using a compatibility library to smooth the differences between the browsers, personally I use Prototype, but others mentioned are at least as good.
There’s so much more to javascript, though. Take property getters and setters as an example:
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Crea…
Really, really cool stuff, contrast this to exploder, where they haven’t even bothered to implement constants! (i.e. the const keyword – in IE6 at least)
I would like an article about JavaFX. It seems like an interesting language, and the first release will come right now.