Tip: Lint your scripts

Tuesday, September 11, 2007 at 10:03 AM


Try running your scripts through JSLint, a very good JavaScript verifier. It can only improve the quality of your code, and you may even learn something new about JavaScript.

Have a tip you'd like to share? Send it to gd-developer AT google DOT com.

2 comments:

Anonymous said...

(Tip Idea)

Tip: Standardize your comments

Try using JSDoc format (similar to javadoc) to standardize your comments: http://jsdoc.sourceforge.net/. You can then use the JSDoc tool to parse inline documentation and produce easily readable HTML documentation files.

Anonymous said...

Thanks for the tip Mike. Hope you're doing good. :)