Skip to main content

Refining Your Code With JSLint

By Tom Museth

JavaScript

Share:

😳 Ever felt a little embarassed sharing your JavaScript? Let's fix it.

JavaScript is all about the interactivity, right? Sure. But JavaScript’s other great lure is in its ease of use and malleability as a language.

However, when it comes to complex projects, this malleability can mean basic errors or oversights result in bugs the size of nuclear-powered cockroaches. And nobody likes cockroaches. There is a solution. It’s called JSLint.

The author of JSLint, Douglas Crockford, says this framework is a tool for helping developers adhere to strict coding conventions. It’ll aid you in the dark science of refining your code. Interested? Read more about it at JSPro: Using JSLint to refine your code.

Tom is the online managing editor at SitePoint. His working day consists of arming himself with an assembly line of long blacks and overseeing the curation of content and flow of traffic across the SitePoint network. His passions include bargain vinyl bins, yoga, juggling sci-fi novels with classic literature, and axolotls. He's currently wading into the world of Android development and HTML5 gaming.

New books out now!

💁‍♀️ Fun Fact: Python was ranked #2 on a recent highest paid coders list. *


🤓 Ok. When did a code editor from Microsoft become kinda cool!?