The Joy of JavaScript

June 15, 2008

It’s always a treat to play with JavaScript. C++ will always have my heart, but I do enjoy the an occasional tryst with JavaScript. I think what’s best about JavaScript is the HTML DOM. It… it feels so dirty using it, just making raw manipulations on the structure of the web itself. It seems there should be some protection involved — surely you can’t just blast over half the page with innerHTML? But you *can*. That’s what’s so amazing about it. No matter how much abuse you do to it, it just keeps on going. Null-pointer dereference? It’s cool. Syntax error? Meh. It just keeps going.

That’s not to say that “it just works”, however. Going and working are two different things. But it does get surprisingly close.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: