A List Apart

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


Lyza Danger Gardner on Building the Web Everywhere

How do we get it done, now?

Every new standard has to start small, and we’ll always need to choose which API to back and which to pass over.

From the Blog

Writing to Think

It's true, writing about your work can be tough. Putting your thoughts out there for everyone to see—and comment on—can be intimidating. But, as Susan Robertson shows, it's a great way to clarify your thinking on tough problems, and can lead to new opportunities in the process.

On Our Radar: Each Button, a Special Snowflake

What grabbed our attention this week? We’re glad you asked. We’re digging the new design standards being shared by 18F and USDS; reading up on accessibility in design (and the notorious PDF!); learning to run better meetings; noodling around with responsive typefaces; and championing better ways to read the comments. Also, somebody likes raccoons. We think. We think that's what they meant.