The If Works is a blog about programming, written by James Coglan. It focuses on web development, Ruby, JavaScript, API and language design, and related concerns.

If you’ve enjoyed this article, you might enjoy my recently published book JavaScript Testing Recipes. It’s full of simple techniques for writing modular, maintainable JavaScript apps in the browser and on the server.