A List Apart

Menu
Issue № 310

Learn how to create inline SVG with Raphaël and take JavaScript minification to the next level.

JavaScript Minification Part II

by Nicholas C. Zakas · 11 Comments

Variable naming can be a source of coding angst for humans trying to understand code. Once you're sure that a human doesn't need to interpret your JavaScript code, variables simply become generic placeholders for values. Nicholas C. Zakas shows us how to further minify JavaScript by replacing local variable names with the YUI Compressor.

More from A List Apart

Columnists

Rachel Andrew on the Business of Web Dev

Software Audits for the Tiny Business

Routine software audits sound like just about the most boring thing in the world. But losing access to a DNS server, missing important alerts from a developer, or paying for a forgotten service are adventures nobody needs. Often, a contractor or an employee sets up an account or buys software for company use. When that person moves to another role, important license or login information can get lost in the shuffle. Rachel Andrew wants you to love the drab old software audit. It’s your best ally for preventing nasty surprises.

From the Blog

On Our Radar: Precious Humans

There are plenty of links and a minimum of one (1) gif awaiting you, as always, in this week's On Our Radar. But first, we want to talk about someone who has inspired all of us: Molly Holzschlag, an influential web standards champion and dear friend.

Learning New Tricks

Going back to basics is never easy. Anthony Colangelo reminds us that sometimes the knowledge we've gained and best practices we've learned can work against us. If you're taking on something new, be ready to learn some new tricks.