Archive for March 31st, 2010

How I Finally Learned to Love JavaScript

Wednesday, March 31st, 2010

No Comments » comment(s)

Leonard Cohen - Songs of Love and Hate For a long time, I stayed away from JavaScript.  I would use it for very small interactions, but for major functionality like menus and UI, I stayed away.  The reason was twofold:

  • Was too hard to test and get working across multiple browsers
  • Was just so confusing! Gah!

So I missed the big Ajax revolution and opportunities thereof.  Even when I finally caught up with Ajax at the end of 2005, I was still trying to use cross-browser goodness via if/else statements.  Even as late as 2007, my berating of JavaScript could be heard amongst co-workers.  Such encouraging phrases as “it’s object-based, not object-oriented” didn’t help me.

Read the rest of this entry »