Does JavaScript scale?

This post talks about how hard it is to debug JavaScript.

In general, pushing the UI to Javascript makes it hard to develop and debug. There are limited tools, the language is too lenient (no objects, weak typing), and testing involves cycling through webpages over and over again.

Obviously, this statement is false: there are objects in JavaScript and some nice features… JavaScript is not too lenient: there are many solid languages without strong typing and they work just fine. But I must say that, indeed, it is quite hard to debug JavaScript. Incredibly so.

My friend Scott Flinn would say “it’s the browser, stupid”… since he thinks that JavaScript is fine, but that JavaScript in the browser is bad.

That’s why, if I ever attempt to do non-trivial JavaScript, I will try to use command line interpreter. The command line is a powerful programming tool despite what Microsoft and Borland think.

Tweet about this on Twitter0Share on Facebook0Share on Google+0Share on Reddit0Email this to someone

5 thoughts on “Does JavaScript scale?”

  1. I think venkman is the netscape/mozilla javascript debugger. It is nice to see the errors listed properly, but it is rather primitive because I cannot easily manipulate the data and the code. I cannot easily see what is in the objects and so on.

  2. The netscape/mozilla javascript debugger also works quite nicely. If you have not tried it just type “:javascript” in a gecko based browser like firefox.

Leave a Reply

Your email address will not be published. Required fields are marked *