Tuesday, January 11, 2011

Reflections on Javascript Basics - 1

Well, today I start my long and fruitful journey on the path of Javascript by (hopefully) enrolling in this P2PU course.....to be honest, I'm a little freaked out by the fact that I need to complete an assignment just to register for the course.

The required viewing looks like it was filmed a few years back (Blair Witch Project? Really??) but served its purpose of giving a brief background to and introducing the key concepts of the language. I guess that's all that matters. This is supposed to be a course, after all.

Based on this video, it seems that Javascript was designed with a user-friendly focus. This is great for noobies like me. The guard and default operators are clean and straightforward, the loose typing gives greater flexibility, and I like how "falsey" and "truthy" values are matched to boolean true and false. Pretty slick stuff. Oh, the overloaded "+" operator example......gotta be careful with that but at least using + is usually intuitive and tidies up the appearance of the code.

I'd be interested in seeing where this all leads. Aside from improving my web savvy, I also promised a friend to create a website for her may-or-may-not-be-realized English school for children in Asia. Aside from handling registration, I think delivering courseware online could be neat feature in this website.

Anyway, this is all daydreaming for now.....