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

Laura Kalbag on Freelance Design

The Illusion of Free

The number of predictions that algorithms can make about us from even minimal data is shocking. Although we’re offered privacy settings that let us control who of our friends sees what, all our information and behavior tends to be fair game for behind-the-scenes tracking. We simply don’t know everything that’s being done with our data currently, and what companies might be able—and willing—to do with it in the future. Laura Kalbag believes it’s time to locate the exits.

From the Blog

On Our Radar: Self-Centered Edition

It's all about us this week at ALA. From steps to sleep to social activities, we're counting every kind of personal data you can think of. But what's all that data add up to? How could we look at it—and ourselves—differently? In this week's On Our Radar, we ask ourselves—and our self—the tough questions.