Wednesday, December 19, 2012

My Love/Hate Relationship with JavaScript

So it's been about a year since I blogged about anything. During that time I was forced to work with uggh...JavaScript. It's interesting how you can hate something when you don't really know much about it. In learning and using it in the past year, I have to say my attitude towards the language has completely changed. While I like other languages more, I no longer dislike JavaScript and I find it can be really useful, which is what all engines aspire towards (bonus points if you get the veiled reference).

From my better appreciation for the language, I really have one major criticism: the global scope it uses. While many developers have tried to work around this issue, it's still there...waiting...ready to pounce on the unsuspecting victim. Regardless, I now had a gaping whole in my emotional fabric: I no longer hated something. As vacuums are often filled quickly, I found a new, yet familiar target for my ire: bad programmers. I have always hated bad programmers, which includes my own bad programming efforts, but I realize my former dislike for JavaScript was really a result of bad JavaScript programmers.

So...JavaScript is OK to mostly good and bad JavaScript programmers should "stop it!" (more bonus points for getting cultural references).

blog comments powered by Disqus