Linked by Amjith Ramanujam on Thu 31st Jul 2008 16:02 UTC, submitted by Francis Lopez
General Development 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."
Order by: Score:
Weakest in the Series so far
by tux2005 on Thu 31st Jul 2008 16:56 UTC
tux2005
Member since:
2007-04-03

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.

Reply Score: 1

Exploder!
by robinh on Thu 31st Jul 2008 18:33 UTC
robinh
Member since:
2006-12-19

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....

Reply Score: 3

RE: Exploder!
by fretinator on Thu 31st Jul 2008 18:43 UTC in reply to "Exploder!"
fretinator Member since:
2005-07-06

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.

Reply Score: 2

RE[2]: Exploder!
by google_ninja on Thu 31st Jul 2008 19:12 UTC in reply to "RE: Exploder!"
google_ninja Member since:
2006-02-05

dude, jquery all the way. css selectors + implementation abstraction + javascript = awsome

Reply Score: 3

RE[2]: Exploder!
by andrewg on Thu 31st Jul 2008 19:36 UTC in reply to "RE: Exploder!"
andrewg Member since:
2005-07-06

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.

Reply Score: 3

Gets a bad rep
by google_ninja on Thu 31st Jul 2008 19:11 UTC
google_ninja
Member since:
2006-02-05

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.

Reply Score: 5

RE: Gets a bad rep
by StephenBeDoper on Thu 31st Jul 2008 22:22 UTC in reply to "Gets a bad rep"
StephenBeDoper Member since:
2005-07-06

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).

Reply Score: 2

RE[2]: Gets a bad rep
by google_ninja on Fri 1st Aug 2008 00:27 UTC in reply to "RE: Gets a bad rep"
google_ninja Member since:
2006-02-05

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.

Reply Score: 2

Actually - its a nice article
by kstrieder on Thu 31st Jul 2008 19:25 UTC
kstrieder
Member since:
2008-05-30

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.

Reply Score: 2

Browser compat libs
by robinh on Thu 31st Jul 2008 21:50 UTC
robinh
Member since:
2006-12-19

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)

Reply Score: 1

JavaFX?
by Kebabbert on Fri 1st Aug 2008 05:43 UTC
Kebabbert
Member since:
2007-07-27

I would like an article about JavaFX. It seems like an interesting language, and the first release will come right now.

Reply Score: 1