Javascript Programming Conventions

Posted on | February 16, 2006 | No Comments

Chain link, it's a link, get it? I’ve been meaning to write a Javascript “best practices” style guide for some time. Bad Javascript is just so painful to read and so easy to find that it brings a bad flavor to the whole language. I might be exaggerating, but only a little.

The Dojo Javascript Programming Conventions just released recently makes the first part of that article no longer needed.  I agree with all their suggestions.  Ok, not all, but most of them.  Basically, I agree enough to modify my own style just to have a standard to follow.

Javascript is such a fun and powerful language, and it has really come into its own with the rising popularity of “Web 2.0″.  It is high time for programmers to treat it like we do any other “real language”, with standards, best-practices, and excellent toolkits.  Dojo and Prototype are leading the way, in my opinion.

Technorati Tags: , , ,


Comments

Leave a Reply





CommentLuv Enabled

Video & Audio Comments are proudly powered by Riffly