Article Image
read

I've always marveled at the geeks who can write good, clean Javascript. Not jQuery - Javascript. I've never cared much for the language - but my mind has been changed with all the great stuff coming out.

Ugh

Yes I know enough jQuery to add some flash and pop to a website and if you're a web developer of any persuasion, you probably do too. The minute you step outside the protection of jQuery's warm little Magical DOM Shield ... you start to smell the lovely essence of poor language design.
Inconsistencies, hoisting, default global variable scope:

it's just about impossible (unless you're a JavaScript wonk) to write code that doesn't do something incredibly strange.

Douglas Crockford's quote on this (from his book,

JavaScript, The Good Parts) says it best:

In JavaScript, there is a beautiful, elegant, highly-expressive language that is buried under a steaming pile of good intentions and blunders

Egads.
Over the years, JavaScript could largely be avoided by use of excessive server-side scripting with your framework of choice. Since the advent of libraries like Prototype, Scriptaculous, and then jQuery -

this has begun to change.

Frameworks like BackboneJS, BatmanJS, JavaScriptMVC - and many more - are changing the way people work with the DOM and with the language in general. CoffeeScript is changing the way people

WRITE

the language! Helping you create "more correct" JavaScript - without exposing you to excessive bracing and syntactic oddities.
In short:

JavaScript is actually becoming fun.

More Than Just Fun

If you're a .NET developer you -

you and Javascript are about to become buddies. Of course

it's not mandatory that you use JavaScript with Windows 8

and Metro - but it's also not mandatory you use C# with .NET.
The ease of creating incredibly compelling web applications with JavaScript is almost inescapable these days. Just like all things: you don't have to use JavaScript with your web site - but it's becoming increasingly obvious which sites are embracing are "moving the web forward" and which ones aren't.
Which is an incredibly odd discussion to begin-with. JavaScript has been around since ... well just about as long as browsers have been around. DOM manipulation is nothing new - yet people who see what HTML5/JavaScript can do are regarding it as "silly browser tricks".
These are the same people who want to learn Silverlight/Flash for the same reason.

The Renaissance Will Be Televised

At Tekpub we see that JavaScript is rampaging back into the spotlight - not only in the browser, but also on the server with platforms such as NodeJS. We don't want to talk you into changing everything you do - but you should, at the very least,

be prepared and understand what's going on

with the language and what's out there.
To that end we've pushed our first of many productions for our forthcoming "JavaScript Channel":

JavaScript: Up To Speed. The goal of this screencast is to "re-introduce" web developers to a language they may only be marginally comfortable with. It starts out with the basics, but quickly ramps up into showing the problems with the language itself, and then how to get around them.
It's about an hour long and is a single episode - the first in the forthcoming JavaScript channel.
I do hope you enjoy it.

Blog Logo

Rob Conery

I am the Co-founder of Tekpub.com, Creator of This Developer's Life, an Author, Speaker, and sometimes a little bit opinionated.


Published